2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
behorn |
Posted: May 3 2005, 08:33 AM
|
||
Newbie Group: Members Posts: 23 Member No.: 1608 Joined: 3-May 05 |
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 |
||
hschneider |
Posted: May 3 2005, 08:47 AM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
Stop xqmagent
Edit /etc/xqmagent.conf and set THREADS=4 Restart xqmagent Did you change this value before ? -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
behorn |
Posted: May 3 2005, 10:15 AM
|
Newbie Group: Members Posts: 23 Member No.: 1608 Joined: 3-May 05 |
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 |
hschneider |
Posted: May 3 2005, 11:18 AM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
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 -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
behorn |
Posted: May 3 2005, 01:53 PM
|
||||||||||
Newbie Group: Members Posts: 23 Member No.: 1608 Joined: 3-May 05 |
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 |
||||||||||
hschneider |
Posted: May 3 2005, 03:33 PM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
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 ? -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
behorn |
Posted: May 3 2005, 03:58 PM
|
Newbie Group: Members Posts: 23 Member No.: 1608 Joined: 3-May 05 |
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 |
hschneider |
Posted: May 4 2005, 06:55 PM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
Don't know what causes this script to loop on your system. It's just a 2-liner with obviously no loop inside ...
-------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |