Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: setrlimit(2) error appearing repeatedly in Apache error log |
|
Author |
|
henrywright
Joined: 02 May 2014 Posts: 2 Location: England, London
|
Posted: Fri 02 May '14 18:23 Post subject: setrlimit(2) error appearing repeatedly in Apache error log |
|
|
My Apache error log contains a particular error thousands of times. I think the error is generated on each page view or hit:
Code: | [Fri May 02 17:30:29 2014] [error] [client xx.xxx.xxx.xx] [info] [pid=2065 euid=0 egid=99] suexec.cpp(317): setrlimit(2): 3 set to 4294967295/4294967295 (soft/hard) bytes, referer: https://example.com/ |
Each time the error is accompanied by 2 warning messages (I'm not sure of they are related):
Code: | Cannot get media type from 'x-mapp-cgi' |
Code: | Cannot get media type from'x-mapp-php4' |
What does this error mean and what could be causing it?
My set-up:
1and1.co.uk Apache dedicated server (managed)
PHP version 5.4.27
Linux
Plain CGI (Fast CGI not enabled)
SSL support enabled
If any more info is needed please let me know. Grateful for your help in advance. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
henrywright
Joined: 02 May 2014 Posts: 2 Location: England, London
|
Posted: Mon 05 May '14 19:10 Post subject: |
|
|
Hi James, thanks for the info. I tried adding Code: | AddHandler x-mapp-php4 .php | to my .htaccess (which is in my root). But I then get an error appear on screen which says WordPress requires PHP version 5.2
I then tried adding
Code: | AddHandler x-mapp-php5 .php |
This didn't cause the WordPress version error but I still have the original errors appearing in my Apache log file.
Any ideas? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 06 May '14 11:15 Post subject: |
|
|
Ok the other issue is in your script that tries to set a higher memory limit.
Increase the memory limit in your php.ini or via .htaccess |
|
Back to top |
|
|
|
|
|
|