2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
Printable Version of Topic
Click here to view this topic in its original format |
XMail Forum > XMail Queue Manager > Install Error (linux Oriented) |
Posted by: behorn May 3 2005, 08:33 AM | ||
I run inte error trying to start the xqmagent.sh. I have downloader the latest version so the startscript is the wrapped version. I run Redhat 9 (which I'm not very familiar with, or Linux in particualar for that matter...) When I try to run ./xqmagent.sh the process starts to spawn (I guess) a bucnh of child processes but after a while it stops with the message
At this time (checking for example ps -a) I see that there are about 100 processes for xqmagent. I am running many mail accounts, about 60, but all these processes? Regards Björn |
Posted by: hschneider May 3 2005, 08:47 AM |
Stop xqmagent Edit /etc/xqmagent.conf and set THREADS=4 Restart xqmagent Did you change this value before ? |
Posted by: behorn May 3 2005, 10:15 AM |
I didn't set the thread value before but now set it to 4, and the server more or less crashed (or atleast stalled totally). No errors this time, but no great success either :-) //Björn |
Posted by: hschneider May 3 2005, 11:18 AM |
This looks pretty strange to me. The Agent was tested on RedHat 9. The max. no. of threads you should see should be 27 or - after your changes 6 threads. The Agent's hard limit is 25. So some hundred threads is rather strange ... How much RAM do you have? What is the output of the 'top' command, right after starting the Agent ? Run the Agent in debug mode, to see if it gives back any errors: killall --KILL xqmagent ./xqmagent --debug |
Posted by: behorn May 3 2005, 01:53 PM | ||||||||||
I have to say it is pretty strange to me too :-) And not in a good way... The amount of ram I must honestly say I don't know how to check. I only manage the server via SSH and I'm don't know all the low-level linux commands (yet, and will never do for that matter :-) The only I could think of was the command "free" which gave me :
I now tried two things 1) I ran ./xqmagent.sh -- debug & and then top with the following result (I did remove a few HTTP here since I didn't think these where of interest)
The system stopped to respond and I have to kill everything to come back to life again. Nothing out of the debug! 2) I ran ./xqmagent.sh and waited a while. Then I opened another window and checked the processes. The result -> ps -a
Oooops, does NOT look so good. Ofcourse, the system stopped to respond again etc etc... This is my xqmagent.sh
and my xqmagent.conf (with the comment removed)
I just checked the server status logs and found : May 3 14:23:07 roquez kernel: VFS: file-max limit 52416 reached Something is rotten here... and I guess I'm the thief.. but how where and why? Thanx for your great patience, regards Björn |
Posted by: hschneider May 3 2005, 03:33 PM |
What you see is the shell script wich seems to be started in an infinite loop, not the Agent's threads. Please start without the .sh file. Just ./xqmagent --debug Output ? |
Posted by: behorn May 3 2005, 03:58 PM |
Yes, I thought that the script didn't make sense, but on the other hand I trusted it. Output -> ./xqmagent --debug Agent version : 1.40 Using xmaillib : 1.54 Using rpcserver : 1.12 Configurationfile : /etc/xqmagent.conf Threads : 4 Listening at : 127.0.0.1:8000 CTRL access at : 127.0.0.1:6017 Trusted clients : 127.0.0.1,tbird,192.168.0.* Handle dynamic IPs : No PID : 16862 Parent PID : 16409 which I guess is good :-) I'll try to get on from here now, Thanx for the help |
Posted by: hschneider May 4 2005, 06:55 PM |
Don't know what causes this script to loop on your system. It's just a 2-liner with obviously no loop inside ... |