ispcp-sub-mgr - KeNt - 04-24-2008 06:41 PM
when I add subdomain subject eats memory over 3.2GB and server going no response
in /etc/ispcp/ispcp.conf I change DEBUG = 1
but when I run ispcp-rqst-mgr from console I don't see error messages
but server going down
ispcp-sub-mgr eats all available memory
RE: ispcp-sub-mgr - KeNt - 04-28-2008 07:10 PM
some logs -
Code:
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{SUB_NAME}' eq '{SUB_NAME}', missing '{SUB_NAME}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_IP}' eq '{DMN_IP}', missing '{DMN_IP}' in src !
I review templates but they looks good
RE: ispcp-sub-mgr - joximu - 04-28-2008 07:33 PM
what about /etc/ispcp/apache2/working/ispcp.conf ?
RE: ispcp-sub-mgr - KeNt - 04-28-2008 08:16 PM
ls -la /etc/ispcp/apache2/working/ispcp.conf
ls: /etc/ispcp/apache2/working/ispcp.conf: No such file or directory
RE: ispcp-sub-mgr - joximu - 04-28-2008 08:36 PM
please also think a little bit - the folder name is apache, not apache2 but you also could have noticed this. We try to help but you have to think yourself.
RE: ispcp-sub-mgr - KeNt - 04-28-2008 08:36 PM
ln -s apache apache2
ispcp-rqst-mngr
Code:
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_IP}' eq '{DMN_IP}', missing '{DMN_IP}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{SUB_NAME}' eq '{SUB_NAME}', missing '{SUB_NAME}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
RE: ispcp-sub-mgr - joximu - 04-28-2008 08:39 PM
not a symlik.
Have a look in ls -la /etc/ispcp/apache/working/ispcp.conf
RE: ispcp-sub-mgr - KeNt - 04-28-2008 08:40 PM
-rw-r--r-- 1 root root 777646 2008-04-25 04:04 ispcp.conf
RE: ispcp-sub-mgr - joximu - 04-28-2008 08:45 PM
nice...
the inside is more interesting.
the file has a structure.
before each domain, there is space for the subdomains and you have theese two lines there, such as:
Code:
# httpd [domain.tld] dmn group entry BEGIN.
<IfModule mod_cband.c>
<CBandUser domain.tld>
# CBandUserLimit 0Mi
# CBandUserScoreboard /var/www/scoreboards/domain.tld
# CBandUserPeriod 4W
# CBandUserPeriodSlice 1W
# CBandUserExceededURL http://admin.server.dom.tld/errors/bw_exceeded.html
</CBandUser>
</IfModule>
# httpd [{SUB_NAME}] sub entry BEGIN.
# httpd [{SUB_NAME}] sub entry END.
# httpd [domain.tld] dmn entry BEGIN.
<VirtualHost 123.45.67.89:80>
RE: ispcp-sub-mgr - KeNt - 04-28-2008 09:40 PM
I have this lines before all domains
how I can check config for consistency?
way to change domain status not true, server in production
|