- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: File table Full
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
03-05-2003 06:33 PM
03-05-2003 06:33 PM
Please wait...checking for disk quotas
crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000023
/etc/profile[37]: cannot make pipe
.profile[11]: cannot make pipe
$
I then finally get in stop the database and restart the server. I checked syslogs and dmesg and see file table full. I searched several forums and all suggest to increase nfile kernel parameter.
For now -
maxuprc = 500
maxusers=300
nfile=4769
ninode=2888
nproc=2420
The system will come to a halt to again...and I will have to reboot...any assistance would be appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 06:45 PM
03-05-2003 06:45 PM
SolutionIf it reports in syslog, then you need to increase the 'nfile' limit.
sar -v 2 10 and observe the file-sz column. If you are seeing the value reaching the denominator, then you will need to increase this limit.
Also check other values in sar output. Do not use formulae as they will increase parameters like ninode that you do not need. This is the procedure I follow to increase the parameters.
#cd /stand/build
#cp /stand/system /stand/system.(date)
#/usr/lbin/sysadm/system_prep -s /stand/system
vi system
(increase your nfile value to 30% than what you have now)
#mk_kernel -o /stand/vmunix
#kmupdate
#cd /
#shutdown -r now
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 06:56 PM
03-05-2003 06:56 PM
Re: File table Full
A) sar -u 5 5
If %idle is low or 0 then CPU bottleneck
B) sar -u 5 5
If %wio > 15 then disk/tape bottleneck
C) sar -d 5 5
For most disks:
if > 50% busy then disk bottleneck
For small percentage of disks:
if > 20% busy then disk bottleneck
D) sar -d 5 5
if C) above true and avwait > avserv then:
I/O bottleneck
if C) above true and avwait < avwerve then:
memory bottleneck
E) vmstat 5 5
if po > 0 then paging.
F) swapinfo -tam
if total 85% or greater then add more swap
G) sar -b 5 5
if < 100% then caching problem.
Good Luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 06:57 PM
03-05-2003 06:57 PM
Re: File table Full
It depends upon the number of open files on the system.
Also make sure that your npty value is also reasonable.
You can use sar -v to check the file-sz and its limits.
To temporarily resolve the problem try stopping processes which are not of priority at the moment on the system.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 06:58 PM
03-05-2003 06:58 PM
Re: File table Full
# sar -v 2 10
HP-UX sk1 B.11.00 D 9000/859 03/05/03
22:24:41 text-sz ov proc-sz ov inod-sz ov file-sz ov
22:24:43 N/A N/A 108/2420 0 590/2888 0 765/4779 0
22:24:45 N/A N/A 108/2420 0 590/2888 0 765/4779 0
22:24:47 N/A N/A 108/2420 0 590/2888 0 765/4779 0
22:24:49 N/A N/A 108/2420 0 590/2888 0 765/4779 0
22:24:51 N/A N/A 108/2420 0 589/2888 0 765/4779 0
22:24:53 N/A N/A 108/2420 0 589/2888 0 765/4779 0
22:24:55 N/A N/A 108/2420 0 589/2888 0 765/4779 0
22:24:57 N/A N/A 108/2420 0 589/2888 0 765/4779 0
22:24:59 N/A N/A 108/2420 0 589/2888 0 765/4779 0
22:25:01 N/A N/A 111/2420 0 622/2888 0 769/4779 0
Bare with me please...I'm really new at this. I guess what your saying is watch 2888? and make sure the numerator is not equal or higher than the denominator?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 07:04 PM
03-05-2003 07:04 PM
Re: File table Full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 07:13 PM
03-05-2003 07:13 PM
Re: File table Full
How much memory you have on the system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 07:14 PM
03-05-2003 07:14 PM
Re: File table Full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 07:30 PM
03-05-2003 07:30 PM
Re: File table Full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 07:33 PM
03-05-2003 07:33 PM
Re: File table Full
Then your maxfiles and maxfiles_lim may not be sufficient.
Do
kmtune -l -q maxfiles
kmtune -l -q maxfiles_lim
If maxfiles is too low, then you will have to increase it a bit. You can increase the parameter maxfiles on the fly.
kmtune -s maxfiles=512
kmtune -u
Run 'kmtune -l -q maxfiles' again to make sure the parameter is updated.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 07:37 PM
03-05-2003 07:37 PM
Re: File table Full
# kmtune -l -q maxfiles
Parameter: maxfiles
Value: 60
Default: 60
Minimum: 0
Module: -
# kmtune -l -q maxfiles_lim
Parameter: maxfiles_lim
Value: 1024
Default: 1024
Minimum: 0
Module: -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 07:53 PM
03-05-2003 07:53 PM
Re: File table Full
However, since it is resulting from the profile, I am not sure if maxfiles is the problem too.
Then comes maxuprc - maximum number of processes a user can run. To verify if you are running, do the following
1. Login as another user. It should take you through without giving any error
2. While you are as another user do the following.
$ps -ef|grep 'my_user' |wc -l
my_user is the login name that you were trying to login and got 'cannot make pipe' message.
Exit back to root session. Run
#kmtune -l -q maxuprc
Compare the number you got with ps and the one you got above. If they are close, then time to increase maxuprc parameter.
This is also a dynamically changeable parameter.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 08:05 PM
03-05-2003 08:05 PM
Re: File table Full
Earlier Logged IN:
/>ps -ef|grep oracle|wc -l
53
Logged in as Root:
# ps -ef|grep root|wc -l
64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 08:06 PM
03-05-2003 08:06 PM
Re: File table Full
# kmtune -l -q maxuprc
Parameter: maxuprc
Value: 500
Default: 75
Minimum: -
Module: -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 08:14 PM
03-05-2003 08:14 PM
Re: File table Full
i would also recommend to check
#dmesg
and /var/adm/syslog/syslog.log file.
There should be lot of messages regarding this.
This should help.
Revert with them too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 08:17 PM
03-05-2003 08:17 PM
Re: File table Full
Did you reboot the box after you encountered the problem?. I am not seeing anything now that is indicative of an overflow.
If you rebooted the box, then you will need to keep an eye on sar -v and see if the nfiles parameter does not hit the limit.
-Sri
PS: You do not need to assign 10 pts unless your problem is solved. I know you are appreciative of our response but the purpose of the point system is to identify the correct answer and rest come later. In future if someone searches the forum for the same problem, he/she will get confused the way points were assigned. In fact, none of our earlier messages solved your problem and they are all carrying 10 pts each. Since most of the messages were only diagnostics, you could award 3 pts until you get the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 08:17 PM
03-05-2003 08:17 PM
Re: File table Full
Just do a kmtune -l for values and past it here.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 08:36 PM
03-05-2003 08:36 PM
Re: File table Full
Well here is the output
Parameter: ninode
Value: ((NPROC+16+MAXUSERS)+32+(2*NPTY))
Default: ((NPROC+16+MAXUSERS)+32+(2*NPTY))
Minimum: -
Module: -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 08:53 PM
03-05-2003 08:53 PM
Re: File table Full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 09:00 PM
03-05-2003 09:00 PM
Re: File table Full
Keep monitoring the file-sz column in sar -v to see if the numerator is gradually increasing.
Try enabling sar in cronjob. Look at "sadc" "sar1" man pages on setting up sar. You will need to have space in /var/adm/sa to enable sar. It will help you dig down the stats prior to reboot.
Since the messages are clear, you will need to increase 'nfile' kernel parameter when you get the downtime.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 02:39 AM
03-06-2003 02:39 AM
Re: File table Full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 03:56 AM
03-06-2003 03:56 AM
Re: File table Full
sar -v 2 5 > /tmp/savesar.`date -u +'%m%d%y%H%M%S'`
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 08:16 AM
03-06-2003 08:16 AM
Re: File table Full
HP-UX sk1 B.11.00 D 9000/859 03/06/03
11:00:00 text-sz ov proc-sz ov inod-sz ov file-sz ov
11:00:02 N/A N/A 262/2420 0 1233/2888 0 2101/4779 0
11:00:04 N/A N/A 262/2420 0 1230/2888 0 2109/4779 0
11:00:06 N/A N/A 260/2420 0 1226/2888 0 2099/4779 0
11:00:08 N/A N/A 262/2420 0 1221/2888 0 2073/4779 0
11:00:10 N/A N/A 256/2420 0 1216/2888 0 2040/4779 0
Early this morning- it appeared as -
HP-UX sk1 B.11.00 D 9000/859 03/06/03
07:10:00 text-sz ov proc-sz ov inod-sz ov file-sz ov
07:10:02 N/A N/A 113/2420 0 1087/2888 0 782/4779 0
07:10:04 N/A N/A 113/2420 0 1082/2888 0 782/4779 0
07:10:06 N/A N/A 113/2420 0 1082/2888 0 782/4779 0
07:10:08 N/A N/A 113/2420 0 1082/2888 0 782/4779 0
07:10:10 N/A N/A 113/2420 0 1082/2888 0 782/4779 0
I had to kill the process or else, the system will eventually hang. Does this appear to be an issue related to the nfile kernal paramter? or should I let CPU stay at 98% and capture sar when the system begins to hang?