![]() |
Loop process - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: Tickets / Roadmap / Timeline (/forum-50.html) +--- Thread: Loop process (/thread-14111.html) |
Loop process - JCircle - 06-04-2011 07:11 AM I was digging around and found this ticket http://isp-control.net/ispcp/ticket/2557 already open. I to see this issue with almost everything I do with in the CP. this is a HUGE problem. This process filled up 200 GB in 2 hours. this happens EVERY time I add a client or the client makes a domain related change. I also run openSuSE 11.3 and 1.07 RE: Loop process - JCircle - 06-06-2011 11:02 AM this process is something that calls /usr/bin/yes the yes command is a repeat command, something is looping "start" into the yes command and never ends it. this causes both the ispcp-serv-mngr.stdout file to get huge as well as /var/tmp to fill with junk. waiting untill the process has done what it "should do" and killing the yes pid will fix the problem. This problem happens every domain added and mail box added Im going to test this on centos and others next to see if this is openSuSE only. Update: This yes process is related to the mail server. on mail box create/change the isp-msgr service is calling for a stop and start on the mail server (or related process) this causes 2 loops. first loop on email stop. the server never stops. second loop if you kill the first one is server start, and the server never gets the start command. looping into the config files for something that is pointed wrong. RE: Loop process - JCircle - 06-08-2011 09:03 AM snip from the logfile running in debug [DEBUG] push_el() sub_name: serv_mngr_start_up(), msg: Starting... [DEBUG] push_el() sub_name: check_master(), msg: Starting... [DEBUG] push_el() sub_name: sys_command_rs(), msg: Starting... [DEBUG] push_el() sub_name: sys_command_rs(), msg: Ending... [DEBUG] push_el() sub_name: getCmdExitValue(), msg: Starting... [DEBUG] push_el() sub_name: getCmdExitValue(), msg: [DEBUG] External command exited with value 0 [DEBUG] push_el() sub_name: getCmdExitValue(), msg: Ending... [DEBUG] push_el() sub_name: del_file(), msg: Starting... [DEBUG] push_el() sub_name: del_file(), msg: Ending... [DEBUG] push_el() sub_name: del_file(), msg: Starting... [DEBUG] push_el() sub_name: del_file(), msg: Ending... [DEBUG] push_el() sub_name: check_master(), msg: Ending... [DEBUG] push_el() sub_name: serv_mngr_start_up(), msg: Ending... [DEBUG] push_el() sub_name: serv_mngr_engine(), msg: Starting... [DEBUG] push_el() sub_name: sys_command_rs(), msg: Starting... Shutting down Courier Authentication Daemon ..done [DEBUG] push_el() sub_name: sys_command_rs(), msg: Ending... [DEBUG] push_el() sub_name: getCmdExitValue(), msg: Starting... [DEBUG] push_el() sub_name: getCmdExitValue(), msg: [DEBUG] External command exited with value 0 [DEBUG] push_el() sub_name: getCmdExitValue(), msg: Ending... [DEBUG] push_el() sub_name: sys_command_rs(), msg: Starting... stop stop stop stop ---------------killed the /usr/bin/yes pid start start start start start -----------------killed the /usr/bin/yes pid again st[DEBUG] push_el() sub_name: sys_command_rs(), msg: Ending... [DEBUG] push_el() sub_name: getCmdExitValue(), msg: Starting... [DEBUG] push_el() sub_name: getCmdExitValue(), msg: [ERROR] External command died with signal 9, without coredump [DEBUG] push_el() sub_name: getCmdExitValue(), msg: Ending... [DEBUG] push_el() sub_name: sys_command_rs(), msg: Starting... Starting Courier-IMAP ..done [DEBUG] push_el() sub_name: sys_command_rs(), msg: Ending... [DEBUG] push_el() sub_name: getCmdExitValue(), msg: Starting... [DEBUG] push_el() sub_name: getCmdExitValue(), msg: [DEBUG] External command exited with value 0 [DEBUG] push_el() sub_name: getCmdExitValue(), msg: Ending... [DEBUG] push_el() sub_name: sys_command_rs(), msg: Starting... Starting Courier-POP3 ..done [DEBUG] push_el() sub_name: sys_command_rs(), msg: Ending... [DEBUG] push_el() sub_name: getCmdExitValue(), msg: Starting... [DEBUG] push_el() sub_name: getCmdExitValue(), msg: [DEBUG] External command exited with value 0 [DEBUG] push_el() sub_name: getCmdExitValue(), msg: Ending... [DEBUG] push_el() sub_name: restart_httpd(), msg: Starting... [DEBUG] push_el() sub_name: sys_command_stderr(), msg: Starting... [DEBUG] push_el() sub_name: getCmdExitValue(), msg: Starting... [DEBUG] push_el() sub_name: getCmdExitValue(), msg: [DEBUG] External command exited with value 0 [DEBUG] push_el() sub_name: getCmdExitValue(), msg: Ending... [DEBUG] push_el() sub_name: sys_command_stderr(), msg: Ending... [DEBUG] push_el() sub_name: restart_httpd(), msg: Reloading... [DEBUG] push_el() sub_name: sys_command_stderr(), msg: Starting... [DEBUG] push_el() sub_name: getCmdExitValue(), msg: Starting... [DEBUG] push_el() sub_name: getCmdExitValue(), msg: [DEBUG] External command exited with value 0 [DEBUG] push_el() sub_name: getCmdExitValue(), msg: Ending... [DEBUG] push_el() sub_name: sys_command_stderr(), msg: Ending... [DEBUG] push_el() sub_name: restart_httpd(), msg: Ending... [DEBUG] push_el() sub_name: serv_mngr_engine(), msg: Ending... [DEBUG] push_el() sub_name: serv_mngr_shut_down(), msg: Starting... [DEBUG] push_el() sub_name: serv_mngr_shut_down(), msg: Ending... RE: Loop process - kilburn - 06-08-2011 07:19 PM This is the code that is causing your problems: Code: 97 sub serv_mngr_engine { Hence, you can try to reproduce the function manually in order to determine where it is going nuts. Basically, you know that there are some changed mail accounts, so you start by "simulating" this bit: Code: 106 if ($main::cfg{'CMD_AUTHD'} ne 'no') { Code: `grep 'CMD_AUTH' /etc/ispcp/ispcp.conf | cut -d'=' -f2` stop At some point the process should hang up (issuing those infamous "yes" stuff), so maybe we can work on from there.... RE: Loop process - JCircle - 06-08-2011 07:31 PM I have found the issue. /usr/sbin/rcamavis was linked wrong. when the service tried to stop and start it looped out of control. I have tested the install 3 more times and found this issue to be on one server only. This issue was most likely caused by a admin error before ispcp was installed. (06-08-2011 07:19 PM)kilburn Wrote: This is the code that is causing your problems: Thanks for your help!!! pointed me right to the issue/ error. |