I know what MaxClients means, but I tought if the server reaches this limit, the next connections will be denied, but after some session will be ended, the server will be ready again.
Am I right?
Or if the server reaches the MaxClients, then will be frozen immediately?
Posts by BInspiron
-
-
Yesterday 9:58am was the restart of services by me.
Otherwise yesterday I put +4GB RAM into the server.
Here is the current free -m:
(Why is used 7480k from 7642k ? Is this normal?)
-
Hi,
have a look in /var/log/apache2/error.log
Are there any errors?Greets
ChrisThis is the full error log of yesterday:
Code- root@mydomain:/var/log/apache2# cat error.log.1
- [Wed Mar 11 06:53:38 2015] [notice] FastCGI: process manager initialized (pid 24427)
- [Wed Mar 11 06:53:38 2015] [notice] Apache/2.2.22 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
- [Wed Mar 11 06:53:38 2015] [notice] vlogger: started CustomLog Handler -- resuming normal operations
- [Wed Mar 11 06:53:45 2015] [notice] SIGUSR1 received. Doing graceful restart
- [Wed Mar 11 06:53:45 2015] [notice] vlogger: caught TERM, shutting down
- [Wed Mar 11 06:53:45 2015] [notice] FastCGI: process manager initialized (pid 24639)
- [Wed Mar 11 06:53:45 2015] [notice] Apache/2.2.22 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
- [Wed Mar 11 06:53:45 2015] [notice] vlogger: started CustomLog Handler -- resuming normal operations
- [Wed Mar 11 09:40:38 2015] [error] server is within MinSpareThreads of MaxClients, consider raising the MaxClients setting
- [Wed Mar 11 09:42:59 2015] [error] server reached MaxClients setting, consider raising the MaxClients setting
- [Wed Mar 11 09:58:43 2015] [error] child process 26148 still did not exit, sending a SIGKILL
- [Wed Mar 11 09:58:43 2015] [error] child process 24665 still did not exit, sending a SIGKILL
- [Wed Mar 11 09:58:43 2015] [error] child process 29700 still did not exit, sending a SIGKILL
- [Wed Mar 11 09:58:43 2015] [error] child process 24666 still did not exit, sending a SIGKILL
- [Wed Mar 11 09:58:43 2015] [error] child process 29773 still did not exit, sending a SIGKILL
- [Wed Mar 11 09:58:43 2015] [error] child process 29867 still did not exit, sending a SIGKILL
- [Wed Mar 11 09:58:44 2015] [notice] caught SIGTERM, shutting down
- [Wed Mar 11 09:58:44 2015] [alert] (4)Interrupted system call: FastCGI: read() from pipe failed (0)
- [Wed Mar 11 09:58:44 2015] [alert] (4)Interrupted system call: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
- [Wed Mar 11 09:58:45 2015] [notice] vlogger: started CustomLog Handler -- resuming normal operations
- [Wed Mar 11 09:58:45 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
- [Wed Mar 11 09:58:45 2015] [notice] vlogger: caught TERM, shutting down
- [Wed Mar 11 09:58:45 2015] [notice] FastCGI: process manager initialized (pid 2375)
- [Wed Mar 11 09:58:45 2015] [notice] Apache/2.2.22 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
- [Wed Mar 11 09:58:45 2015] [notice] vlogger: started CustomLog Handler -- resuming normal operations
- [Wed Mar 11 12:03:01 2015] [notice] SIGUSR1 received. Doing graceful restart
- [Wed Mar 11 12:03:01 2015] [notice] vlogger: caught TERM, shutting down
- [Wed Mar 11 12:03:01 2015] [notice] FastCGI: process manager initialized (pid 8155)
- [Wed Mar 11 12:03:01 2015] [notice] Apache/2.2.22 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
- [Wed Mar 11 12:03:01 2015] [notice] vlogger: started CustomLog Handler -- resuming normal operations
- [Wed Mar 11 12:20:33 2015] [notice] SIGUSR1 received. Doing graceful restart
- [Wed Mar 11 12:20:33 2015] [notice] vlogger: caught TERM, shutting down
- [Wed Mar 11 12:20:33 2015] [notice] FastCGI: process manager initialized (pid 8855)
- [Wed Mar 11 12:20:33 2015] [notice] Apache/2.2.22 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
- [Wed Mar 11 12:20:33 2015] [notice] vlogger: started CustomLog Handler -- resuming normal operations
- [Wed Mar 11 12:21:05 2015] [notice] SIGUSR1 received. Doing graceful restart
- [Wed Mar 11 12:21:05 2015] [notice] vlogger: caught TERM, shutting down
- [Wed Mar 11 12:21:05 2015] [notice] FastCGI: process manager initialized (pid 8970)
- [Wed Mar 11 12:21:05 2015] [notice] vlogger: started CustomLog Handler -- resuming normal operations
- [Wed Mar 11 12:21:05 2015] [notice] Apache/2.2.22 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
- [Wed Mar 11 12:21:29 2015] [notice] SIGUSR1 received. Doing graceful restart
- [Wed Mar 11 12:21:29 2015] [notice] vlogger: caught TERM, shutting down
- [Wed Mar 11 12:21:29 2015] [notice] FastCGI: process manager initialized (pid 9103)
- [Wed Mar 11 12:21:29 2015] [notice] Apache/2.2.22 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
- [Wed Mar 11 12:21:29 2015] [notice] vlogger: started CustomLog Handler -- resuming normal operations
-
Sorry for my late post, but today was the next event, when the services crashed.
I restarted the mysql service -> the server still down from browser.
I restarted the apache2 service -> the server is UP from browser.So, something wrong with apache I think.
I checked the mem as you said "free-m":
Top results:
Code- top - 10:10:41 up 23:14, 1 user, load average: 0.04, 0.07, 0.10
- Tasks: 228 total, 1 running, 227 sleeping, 0 stopped, 0 zombie
- Cpu(s): 0.1%us, 0.2%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
- Mem: 3696984k total, 3446740k used, 250244k free, 753944k buffers
- Swap: 9768956k total, 10692k used, 9758264k free, 1147396k cached
My server processor is: Intel(R) Core(TM) i5-4440 CPU @ 3.10GHz
var/log/syslog is full of mailing (dovecot, postfix) messages, NOTHING about apache crashes.
(I know the service stopping time, so I see +/- 30 min, nothing.)
I have Ubuntu 12.04, so I don't have var/log/messages so I cechked /var/log/syslog
Syslog is also full of mailing (dovecot, postfix) messages, nothing about apache.Anyway: how can I set up that mailing log messages go to separately?
-
Hi,
I have an Ubuntu 12.04.05 LTS server, core I5, 8GB RAM.
I use I-MSCP 1.2.2, Build: 20150212 with cca. 50 domains.Relatively frequent the users call me that the server is not reachable.
They have right, I try to visit the pages and no HTTP answer from the server.Fortunately the server technically up and run, I can log in via SSH.
But the apache2 service restart and the mysqld service restart doesn't help, only the full system restart.The question is: where can I start debug the problem?
/var/log/apache2/error.log?
/var/log/mysql/error.log?I don't see any error messages..
-
Thank you very much! I tried to use the search, but I didn't find this post.
This was the solution.
(Please, edit the vlogger script /usr/local/sbin/vlogger and change:Line 337
Perl Source Code
#chdir( $LOGDIR );byPerl Source Code
chdir( $LOGDIR );Once done, restart Apache. Don't forget to remove directories which were created due to that bug.)
-
Dear Community,
after I upgraded my server to 1.2.2 version, all my hosted domains access.log files moved to the / folder.
Here is a little part of my / folders:
/myhosteddomain.com
/anotherdomain.com
/backup
/bin
/etc
/domainagin.com
/moredomain.com
/dev...
It's very ugly and mess for me.
Is this a normal workflow?How can I move this folders back to /var/log ?
Thank you!
-
Thanks, but the earlier updates worked without any service stopping.
I tried to stop the imscp service but it wasn't enough.
I tried to search about this, but nothing.
Which services have to stop for this update?
Maybe the installer messages could be more specific...Thank you!
-
Dear All,
I tried to update from i-MSCP 1.1.11 to 1.1.13.
I did updates many times before successfull, followed this steps: http://wiki.i-mscp.net/doku.php?id=start:upgrade:ubuntuBut when I try to update to 1.1.13 I get this error message from the installer script after few steps:
"An i-MSCP or related process is currently running on your system. You must wait until the end of the processes and re-run the installer."
(see attached pic)What can I do to make the update?
Thank you!BIn.
-
Hi,
I tried to do this, followed the steps, here is the result after I tried to run the imsc-setup script:
(i-mscp version 1.1.9 eagle)/var/www/imscp/engine/setup# ./imscp-setup --reconfigure
[FATAL ERROR]
iMSCP::Debug::__ANON__: Unrecognized character \xC2; marked by <-- HERE after
at master <-- HERE near column 72 at
/etc/imscp/hooks.d/20_postfix_policyd_whitelist.pl line 13, <$fh> line 746.
Compilation failed in require at
/var/www/imscp/engine/setup/../PerlLib/iMSCP/HooksManager.pm line 160, <$fh>
line 746.What can I do?