HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: too many open files and apache1 3 27
Operating System - HP-UX
1834926
Members
2565
Online
110071
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2003 03:26 AM
04-17-2003 03:26 AM
too many open files and apache1 3 27
Configuration:
Apache 1.3.27
HpUx 11i
Sometimes, error messages appear in apache's error log file:
" Too many open files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable ".
At the same time, apache could not serve and another message,"FORBDDEN", appears on browser.
Although I set all the kernel parameters related to Apache, the problem could not be solved.
What is the problem?
Thanks and best regards,
Emre Kunt
Apache 1.3.27
HpUx 11i
Sometimes, error messages appear in apache's error log file:
" Too many open files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable ".
At the same time, apache could not serve and another message,"FORBDDEN", appears on browser.
Although I set all the kernel parameters related to Apache, the problem could not be solved.
What is the problem?
Thanks and best regards,
Emre Kunt
emre
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2003 03:31 AM
04-17-2003 03:31 AM
Re: too many open files and apache1 3 27
hi Kunt,
run this script and see the process which has many files open... then try to resolve why. is lsof installed on your machine?
You can get 'lsof' here:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/
lsof | awk '{procct[$1]++;procname[$1]=$1;}END{for (i in procname) {printf ("%s, %d\n",procname[i],procct[i]);}}' | tr -s " " | sort -t" " -n -r -k 2,2
HTH.
- ramd.
run this script and see the process which has many files open... then try to resolve why. is lsof installed on your machine?
You can get 'lsof' here:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/
lsof | awk '{procct[$1]++;procname[$1]=$1;}END{for (i in procname) {printf ("%s, %d\n",procname[i],procct[i]);}}' | tr -s " " | sort -t" " -n -r -k 2,2
HTH.
- ramd.
HPE Software Rocks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2003 03:31 AM
04-17-2003 03:31 AM
Re: too many open files and apache1 3 27
Check your maxfile parameter in the kernel.
i think you are crossing it!
i think you are crossing it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2003 04:05 AM
04-17-2003 04:05 AM
Re: too many open files and apache1 3 27
Kernel parameters worth to check:
maxfiles
maxfiles_lim
nfile
ninode (???)
Use lsof to compare actual usage.
Good luck
Adam
maxfiles
maxfiles_lim
nfile
ninode (???)
Use lsof to compare actual usage.
Good luck
Adam
I do everything perfectly, except from my mistakes
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP