Posts by itcm

    thanks for suggestion joximu but it's not the case of MaxClients.

    enabling coredump I discovered that some ExpressionEngine sites cause php-fpm to segfault! now I'm changing (thanks phpswitcher) the fpm daemon and trying in this way.

    I'll enable single error log for each hosts, thanks for idea!

    I found two things on google with the information you provided. Both might happen here, so check google or any other search function for: AH00052: child pid 5756 exit signal Segmentation fault (11) .

    It tells you what you can try. Its not much, but espsecially the first one is actually really useful.

    Thanks for suggestion, I've read a lot of thread concerning this. I didn't investigate on this way because segfault was happening in different time respect of the apache's "stop".

    In any case they are very interesting, I'm founding only difficult to understand which virtualhost is serving apache in the moment of segfault, do you think that it's possible to tell apache to log also this? Unfortunately I've a lot of different sites on this server :( Or the only possiblities is coredump?

    I've tried enabling it, let's what's going to happen :)

    In the meantime I've also raised loglevel for every Vhosts....

    Grep the information from the system and log and do a backtrace.

    Something is causing the crashes.

    Beside from that, I always recommend to use the latest version available (keep the requirements in mind).

    All the system is updated, debian + imscp.

    The problem is that I've no evidence of the "crash" in any log, when apache is not responding I've nothing in log files.

    I've also setted LogLevel debug in apache2.conf but without any luck

    Hi all, unfortunately it will be a long post but it's a bit hard to describe what's happening....

    Let's start from the beginning:

    - In a remote past (2 years ago) we had a physical server with imscp (if i remember well 1.4) and debian 7, apache+php-fpm, everything working great and everyone was happy :)

    - We have a nagios check in place, it checks every minute if http / https port was responding and also collect apache server_status data (via http://localhost/server_status)

    - one bad day apache stopped responding (no reply on port 80 and trying to query server_status browser remaing in "making an http connection to" undefinitely. Nothing in apache, php and system log. So I decided to restart apache service -> everything was great again!

    - then this thing started running more frequently, sometimes I had to restart apache, sometimes php-fpm, etc etc Looking inside I started discovering that apache (before the stop) had lot of child "logging", or in "sending reply", and quickly it saturate all child available.

    - I started understanding slowloris attack and tuned the system mitigating it (mod_evasive, keepalive, etc)

    - In any case the problem continuosly represent, at the end we thought that problem was caused by a particular site that we added, we moved to another site and problem disappeared for a lot of time!

    - some months later it started happening again :(, and in some weeks we move to a new server....

    - It is a completely different server, different hardware (with a virtualized system), debian 8 (at that time) and last version of imscp.

    - for first months everything was ok, then it started happening again......

    I'm completely afflicted, now the setup is: debian 9 + apache + php-fpm + imscp 1.5.3, but it still suddenly stop

    - I tryied tuning everything in apache, testing ram, testing hard disk, tryied tuning sysctl parameter for tcp connection... nothing worked.

    The problem randomly simply happen:

    - If i connect strace to apache PIDs they output nothing, simply the process is waiting for????

    - on server_status no evidence, no growth of child, from one minute to another it stopped answerying query

    - if I restart apache everything started working again :(

    - sometime I've to restart also php-fpm

    in apache error.log nothing at the time of the event, sometimes I've this error:

    [core:notice] [pid 27873:tid 140018606080064] AH00052: child pid 5756 exit signal Segmentation fault (11)

    are this in some way connected?

    I thought to migrate to apache ITK, but, unfortunately, we had more than one PHP version and so I can't use that MPM.

    I'm really frustrated because I've no notice in any error of what's happening and my idea are exhausted, so I'm kindly asking if someone can help me or can point me in some direction.

    Thank you very much!

    Good morning,

    First, don't worry, it practicable... T

    TheCry If I remember well, you did such thing in the past with the InstantSSH plugin. Maybe you could help here.

    Hi Nuxwin, thank you for your reply. The config is basic, I jsut added some sections and rebuilt the jail.

    This is the content of config.php

    as you can see, nothing particularly different from the original.


    thank you for your beautiful product!

    I've tried to find information on the forum but I wasn't lucky, in fact what I want to achieve is to give a customers ssh access inside a chroot (and that's very easy with instantssh), with permission to run php (and that's fine adding php section to config.php) but he also need to run php version compiled inside phpswitcher (/opt/phpswitcher/xxxx/phpx.x/bin/php )

    How can I do to make these binary available inside the jail. I've tried to copy "php" section but I didn't understand when and where /usr/bin/php is copied so I'm blocked :(

    Thank you in advance for your help!

    Hi Nuxwin, and thank you for your check.
    I'll reply one by one:
    - I've installed only apache2 from debian stretch because of http2 support, we already discuss about this on another old thread: mod_proxy_fcgi - 1.3.7 - apache 2 stretch
    - percona db repository is needed for xtrabackuptools, nothing else
    - I trust you
    - Yes, it's a testing machine.

    Just one thing, how did you reach that problem was made by that listener? I'm not able to find any more information on logs or something like that. Can you explain this to me?
    After that I'll try by myself, my problem is to know where the autoinstall hangs up, and who make it hang. Like in this case.

    Thank you very much