Results 1 to 17 of 17
-
05-30-2005, 04:29 AM #1Junior Guru
- Join Date
- May 2004
- Posts
- 237
[Error]Child pid 2477 exit signal File size limit exceede
when i use this /usr/local/apache/logs/error_log then it give me alot of these below. What does that mean ? something wrong with my MaxRequestsPerChild ? i have MaxRequestsPerChild for 1000.
Code:root@server [~]# tail -f /usr/local/apache/logs/error_log [Mon May 30 01:23:16 2005] [notice] child pid 2477 exit signal File size limit exceeded (25) [Mon May 30 01:23:16 2005] [notice] child pid 2481 exit signal File size limit exceeded (25) [Mon May 30 01:23:16 2005] [notice] child pid 2482 exit signal File size limit exceeded (25) [Mon May 30 01:23:16 2005] [notice] child pid 2484 exit signal File size limit exceeded (25) [Mon May 30 01:23:16 2005] [notice] child pid 2485 exit signal File size limit exceeded (25) [Mon May 30 01:23:17 2005] [notice] child pid 30745 exit signal File size limit exceeded (25) [Mon May 30 01:23:17 2005] [notice] child pid 1997 exit signal File size limit exceeded (25) [Mon May 30 01:23:17 2005] [notice] child pid 2486 exit signal File size limit exceeded (25) [Mon May 30 01:23:17 2005] [notice] child pid 2492 exit signal File size limit exceeded (25) [Mon May 30 01:23:17 2005] [notice] child pid 2493 exit signal File size limit exceeded (25) [Mon May 30 01:23:18 2005] [notice] child pid 2494 exit signal File size limit exceeded (25) [Mon May 30 01:23:18 2005] [notice] child pid 2498 exit signal File size limit exceeded (25) [Mon May 30 01:23:18 2005] [notice] child pid 2499 exit signal File size limit exceeded (25) [Mon May 30 01:23:18 2005] [notice] child pid 2501 exit signal File size limit exceeded (25) [Mon May 30 01:23:19 2005] [notice] child pid 29341 exit signal File size limit exceeded (25) [Mon May 30 01:23:19 2005] [notice] child pid 2178 exit signal File size limit exceeded (25) [Mon May 30 01:23:19 2005] [notice] child pid 2497 exit signal File size limit exceeded (25) [Mon May 30 01:23:19 2005] [notice] child pid 2502 exit signal File size limit exceeded (25) [Mon May 30 01:23:19 2005] [notice] child pid 2504 exit signal File size limit exceeded (25) [Mon May 30 01:23:20 2005] [error] [client 194.214.218.108] File does not exist: /home/xindung/public_html/images/1a.jpg [Mon May 30 01:23:20 2005] [notice] child pid 2442 exit signal File size limit exceeded (25) [Mon May 30 01:23:20 2005] [notice] child pid 2505 exit signal File size limit exceeded (25) [Mon May 30 01:23:20 2005] [notice] child pid 2506 exit signal File size limit exceeded (25) [Mon May 30 01:23:20 2005] [notice] child pid 2508 exit signal File size limit exceeded (25) [Mon May 30 01:23:20 2005] [notice] child pid 2509 exit signal File size limit exceeded (25) [Mon May 30 01:23:21 2005] [notice] child pid 2391 exit signal File size limit exceeded (25) [Mon May 30 01:23:21 2005] [notice] child pid 2507 exit signal File size limit exceeded (25) [Mon May 30 01:23:21 2005] [notice] child pid 2510 exit signal File size limit exceeded (25) [Mon May 30 01:23:21 2005] [notice] child pid 2511 exit signal File size limit exceeded (25) [Mon May 30 01:23:21 2005] [notice] child pid 2512 exit signal File size limit exceeded (25) [Mon May 30 01:23:21 2005] [notice] child pid 2513 exit signal File size limit exceeded (25) [Mon May 30 01:23:22 2005] [notice] child pid 31144 exit signal File size limit exceeded (25) [Mon May 30 01:23:22 2005] [notice] child pid 2413 exit signal File size limit exceeded (25) [Mon May 30 01:23:22 2005] [notice] child pid 2517 exit signal File size limit exceeded (25) [Mon May 30 01:23:22 2005] [notice] child pid 2519 exit signal File size limit exceeded (25) [Mon May 30 01:23:23 2005] [notice] child pid 2487 exit signal File size limit exceeded (25) [Mon May 30 01:23:23 2005] [notice] child pid 2516 exit signal File size limit exceeded (25) [Mon May 30 01:23:23 2005] [notice] child pid 2518 exit signal File size limit exceeded (25) [Mon May 30 01:23:23 2005] [notice] child pid 2520 exit signal File size limit exceeded (25) [Mon May 30 01:23:24 2005] [notice] child pid 29123 exit signal File size limit exceeded (25) [Mon May 30 01:23:24 2005] [notice] child pid 2118 exit signal File size limit exceeded (25) [Mon May 30 01:23:24 2005] [notice] child pid 2210 exit signal File size limit exceeded (25) [Mon May 30 01:23:24 2005] [notice] child pid 2424 exit signal File size limit exceeded (25) [Mon May 30 01:23:24 2005] [notice] child pid 2525 exit signal File size limit exceeded (25) [Mon May 30 01:23:24 2005] [notice] child pid 2526 exit signal File size limit exceeded (25) ......................
Last edited by tinhnho; 05-30-2005 at 04:35 AM.
-
05-30-2005, 04:39 AM #2Junior Guru Wannabe
- Join Date
- Apr 2002
- Posts
- 86
Check the size of your log files and your user limits in limits.conf.
-
05-30-2005, 04:41 AM #3Web Hosting Master
- Join Date
- Jun 2003
- Location
- UK
- Posts
- 6,616
Check /etc/httpddomlogs I bet you have a log file > 2.0Gb. If you remove that,restart apache you will be fine
RusRuss Foster - Industry Curmudgeon
Freelance Sysadmin for Hire - email vaserv@gmail.com
-
05-30-2005, 08:47 PM #4Junior Guru
- Join Date
- May 2004
- Posts
- 237
Originally posted by vaserv
Check /etc/httpddomlogs I bet you have a log file > 2.0Gb. If you remove that,restart apache you will be fine
Rus
is this the one ?
cd /usr/local/apache/domlogs
If it is, then here what i got inside the domlogs
here what i got inside usr/local/apache/domlogs
Code:ftp.abc.com-ftp_log ftp.abc123.com-ftp_log.offset ftp.abc123.com-ftp_log.offsetftpbytes ftp.david.com-ftp_log ftp.david.com-ftp_log.offset ftp.david.com-ftp_log.offsetftpbytes ftpxferlog ftpxferlog.offset ftpxferlog.offsetftpsep ftp.peter.com-ftp_log ftp.peter.com-ftp_log.offset ftp.peter.com-ftp_log.offsetftpbytes abc123.com abc123.com-smtpbytes_log david.com peter.com
Last edited by tinhnho; 05-30-2005 at 08:52 PM.
-
05-30-2005, 09:43 PM #5Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
ls -lh /usr/local/apache/domlogs
Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
05-30-2005, 09:48 PM #6Engineer
- Join Date
- Jan 2005
- Location
- Scotland, UK
- Posts
- 2,681
Exactly what thelinuxguy said.
ls -alh /usr/local/apache/domlogs
Remove files that are bigger than 2gb, then just service httpd restart and you should be fine.Server Management - AdminGeekZ.com
Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com
-
05-30-2005, 10:03 PM #7Junior Guru
- Join Date
- May 2004
- Posts
- 237
thank alot guys
Last question, How do i remove those file ? ( sorry if it is silly question).
ls -lh /usr/local/apache/domlogs
Code:total 94M drwxr-xr-x 2 root root 4.0K May 30 18:51 ./ drwxr-xr-x 14 root root 4.0K May 17 18:50 ../ -rw-r----- 1 root duyens 26K May 30 18:45 peter.com -rw-r----- 1 root abc 0 May 30 11:51 ftp.abc.com-ftp_log -rw-r--r-- 1 root root 2 May 30 02:22 ftp.abc.com-ftp_log.offset -rw-r--r-- 1 root root 2 May 30 17:21 ftp.abc.com-ftp_log.offsetftpbytes -rw-r----- 1 root abc1 0 May 30 10:47 ftp.abc1.com-ftp_log -rw-r--r-- 1 root root 5 May 30 02:22 ftp.abc1.com-ftp_log.offset -rw-r--r-- 1 root root 2 May 30 16:51 ftp.abc1.com-ftp_log.offsetftpbytes -rw-r--r-- 1 root root 0 May 30 18:51 ftpxferlog -rw-r--r-- 1 root root 2 May 30 02:22 ftpxferlog.offset -rw-r--r-- 1 root root 2 May 30 18:51 ftpxferlog.offsetftpsep -rw-r----- 1 root abc123 0 May 30 11:18 ftp.abc123.com-ftp_log -rw-r--r-- 1 root root 5 May 30 02:22 ftp.abc123.com-ftp_log.offset -rw-r--r-- 1 root root 2 May 30 17:21 ftp.abc123.com-ftp_log.offsetftpbytes -rw-r----- 1 root abc 21M May 30 18:57 abc.com -rw-r----- 1 root mail 918 May 20 17:34 abc.com-smtpbytes_log -rw-r----- 1 root yahell 71M May 30 18:57 yahell.com -rw-r----- 1 root abc 1.0M May 30 18:50 abc.com
-
05-30-2005, 10:09 PM #8Engineer
- Join Date
- Jan 2005
- Location
- Scotland, UK
- Posts
- 2,681
You must have set your limits low.
But
rm -rf /usr/local/apache/domlogs/abc.com
rm -rf /usr/local/apache/domlogs/yahell.com
Should do the trickServer Management - AdminGeekZ.com
Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com
-
05-30-2005, 10:18 PM #9Junior Guru
- Join Date
- May 2004
- Posts
- 237
are you talking about this /etc/security/limits.conf ?
what do i need to set ?
HEre is pico /etc/security/limits.conf
Code:# /etc/security/limits.conf # #Each line describes a limit for a user in the form: # #<domain> <type> <item> <value> # #Where: #<domain> can be: # - an user name # - a group name, with @group syntax # - the wildcard *, for default entry # #<type> can have the two values: # - "soft" for enforcing the soft limits # - "hard" for enforcing hard limits # #<item> can be one of the following: # - core - limits the core file size (KB) # - data - max data size (KB) # - fsize - maximum filesize (KB) # - memlock - max locked-in-memory address space (KB) # - nofile - max number of open files # - rss - max resident set size (KB) # - stack - max stack size (KB) # - cpu - max CPU time (MIN) # - nproc - max number of processes # - as - address space limit # - maxlogins - max number of logins for this user # - priority - the priority to run user process with # - locks - max number of file locks the user can hold # #<domain> <type> <item> <value> # #* soft core 0 #* hard rss 10000 #@student hard nproc 20 #@faculty soft nproc 20 #@faculty hard nproc 50 #ftp hard nproc 0 #@student - maxlogins 4 # End of file
-
05-30-2005, 10:24 PM #10Engineer
- Join Date
- Jan 2005
- Location
- Scotland, UK
- Posts
- 2,681
man ulimit
Server Management - AdminGeekZ.com
Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com
-
05-30-2005, 10:26 PM #11Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
ulimit wont do anything a 2gb limit is built into apache
Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
05-30-2005, 10:32 PM #12Junior Guru
- Join Date
- May 2004
- Posts
- 237
Originally posted by thelinuxguy
ulimit wont do anything a 2gb limit is built into apache
BTW, I really appriciate your help and output here.
-
05-30-2005, 10:33 PM #13Engineer
- Join Date
- Jan 2005
- Location
- Scotland, UK
- Posts
- 2,681
Thats a first for me Never actualy checked ulimit for the apache log limit. Just knew it was limited because I ran into that problem awhile back.
Oh well learn somthing new every day.Server Management - AdminGeekZ.com
Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com
-
05-30-2005, 10:37 PM #14Engineer
- Join Date
- Jan 2005
- Location
- Scotland, UK
- Posts
- 2,681
You do not have any logs that are 2gb
paste the output of
ls -alh /usr/local/apache/logsServer Management - AdminGeekZ.com
Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com
-
05-30-2005, 10:46 PM #15Junior Guru
- Join Date
- May 2004
- Posts
- 237
Originally posted by HostGeekZ
You do not have any logs that are 2gb
paste the output of
ls -alh /usr/local/apache/logs
here is the result
Code:total 114M drwxr-xr-x 2 root root 4.0K May 30 01:11 ./ drwxr-xr-x 14 root root 4.0K May 17 18:50 ../ -rw-r--r-- 1 root root 959K May 30 19:45 access_log -rw------- 1 root root 2.7M May 30 19:45 audit_log -rw-r--r-- 1 root root 109M May 30 19:45 error_log -rw-r--r-- 1 root root 6 May 30 01:11 httpd.pid -rw-r--r-- 1 root root 80K May 30 01:11 ssl_engine_log -rw------- 1 nobody root 0 May 19 07:52 ssl_mutex.10776 -rw------- 1 nobody root 0 May 18 19:35 ssl_mutex.10822 -rw------- 1 nobody root 0 May 19 00:01 ssl_mutex.11764 -rw------- 1 nobody root 0 May 19 22:00 ssl_mutex.12002 -rw------- 1 nobody root 0 May 19 22:00 ssl_mutex.12164 -rw------- 1 nobody root 0 May 19 00:11 ssl_mutex.12574 -rw------- 1 nobody root 0 May 19 13:10 ssl_mutex.13616 -rw------- 1 nobody root 0 May 19 12:59 ssl_mutex.16986 -rw------- 1 nobody root 0 May 19 01:41 ssl_mutex.17565 -rw------- 1 nobody root 0 May 19 13:46 ssl_mutex.17817 -rw------- 1 nobody root 0 May 18 21:55 ssl_mutex.19702 -rw------- 1 nobody root 0 May 27 01:57 ssl_mutex.20544 -rw------- 1 nobody root 0 May 18 08:58 ssl_mutex.21086 -rw------- 1 nobody root 0 May 21 22:40 ssl_mutex.21907 -rw------- 1 nobody root 0 May 30 01:48 ssl_mutex.22073 -rw------- 1 nobody root 0 May 19 02:48 ssl_mutex.22478 -rw------- 1 nobody root 0 May 18 13:23 ssl_mutex.22905 -rw------- 1 nobody root 0 May 18 13:18 ssl_mutex.26134 -rw------- 1 nobody root 0 May 22 22:44 ssl_mutex.27950 -rw------- 1 nobody root 0 May 30 01:11 ssl_mutex.28865 -rw------- 1 nobody root 0 May 19 04:23 ssl_mutex.29019 -rw------- 1 nobody root 0 May 29 21:15 ssl_mutex.2912 -rw------- 1 nobody root 0 May 27 21:23 ssl_mutex.31252 -rw------- 1 nobody root 0 May 18 22:40 ssl_mutex.31608 -rw------- 1 nobody root 0 May 27 01:14 ssl_mutex.3415 -rw------- 1 nobody root 0 May 19 06:08 ssl_mutex.3763 -rw------- 1 nobody root 0 May 27 03:58 ssl_mutex.6134 -rw------- 1 nobody root 0 May 18 23:12 ssl_mutex.8878 -rw------- 1 nobody root 0 May 29 08:29 ssl_mutex.9724 -rw------- 1 nobody root 0 May 30 01:11 ssl_scache.dir -rw------- 1 nobody root 0 May 30 01:11 ssl_scache.pag -rw-r--r-- 1 root nobody 28K May 30 02:07 suexec_log -rw-r--r-- 1 root root 6 May 30 00:22 suexec_log.offset
Code:root@server [~]# tail -f /usr/local/apache/logs/error_log [Mon May 30 01:23:16 2005] [notice] child pid 2477 exit signal File size limit exceeded (25) [Mon May 30 01:23:16 2005] [notice] child pid 2481 exit signal File size limit exceeded (25) [Mon May 30 01:23:16 2005] [notice] child pid 2482 exit signal File size limit exceeded (25) ...........................
Last edited by tinhnho; 05-30-2005 at 10:54 PM.
-
05-30-2005, 11:07 PM #16Engineer
- Join Date
- Jan 2005
- Location
- Scotland, UK
- Posts
- 2,681
Paste the output of
find / -size +1000000000cServer Management - AdminGeekZ.com
Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com
-
07-14-2005, 03:09 AM #17Junior Guru
- Join Date
- May 2004
- Posts
- 237
hello,
Here is that i got
Code:root@server [~]# find / -size +1000000000c find: /proc/16379/fd: No such file or directory find: /proc/20657/fd: No such file or directory find: /proc/20755/fd: No such file or directory find: /proc/20771/fd: No such file or directory find: /proc/20795/fd: No such file or directory find: /proc/21056/fd: No such file or directory find: /proc/21059/fd: No such file or directory find: /proc/21374/fd/4: No such file or directory
any help please ? thanks alotLast edited by tinhnho; 07-14-2005 at 03:22 AM.