- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var/spool Filesystem is 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
Discussions
Discussions
Discussions
Forums
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
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
тАО09-13-2008 09:00 PM
тАО09-13-2008 09:00 PM
I accidentely opened the thread in the Linux now I opened the same in the HP-UX Forum.
We were facing problem of /var/spool file system. It was 100%. We checked all the directories and files uder this filesystem. We purged/removed some old log files. Still I was 100%.We checked /var/spool/mail and /var/spool/lp but nothing found there.
Then we found that there were 5 instances runnig of lpsched. So we kill 4 instatnces. Then we stop and start the lp service. Again 5 lpsched process were runnig.
In the top command, we found that "jfmerge" process running which was taking to much CPU usages. So we changed the nice value of that still all the process were taking high CPU usage. There were 5 instance runnig of this process. Please see the attached file. So in the end we killed all the process of "jfmerge" and suddenly the /var/spool size went upto 22%.
Please tells us what is the "jfmerge" process and why it was taking so much CPU usage. What is the reason for this problem.
What is the solution for the same?
Appreciate your early reply...
Thank you!!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2008 10:35 PM
тАО09-13-2008 10:35 PM
SolutionI think at the moment your system is working against you. The system is trying to write data to /var as fast as you clear the data.
It might be good to reboot the system at console and go into single user mode.
hpux -is at the ISL prompt (varies based on system type).
mount /usr
mount /var
after logging in.
Then conduct your cleaning operation knowing the system will not keep writing there.
Your system is in such a state due to the full /var file system. Processed need to write there often, when they can't try go into i/o wait or try over and over, causing problems with CPU consumption.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2008 10:53 PM
тАО09-13-2008 10:53 PM
Re: /var/spool Filesystem is full -
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2008 07:50 AM
тАО09-14-2008 07:50 AM
Re: /var/spool Filesystem is full -
SKR:
/var/spool is a seperate mount point.
Steven:
What was the reason for lpsched running 5 times?
What is the jfmerge process?
The /var/spool filesystem is 2.5 GB and it is 25% used normally. But when it was full, we didnot found any new file created or any large file present. We checked all the directories and files and also calculate their size but it was not more than 700MB. So what is the reason that it was showing 100% full?
After rebooting in single user mode, what are cleaning operation need to be conduct?
Regards,
VVS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2008 09:41 AM
тАО09-14-2008 09:41 AM
Re: /var/spool Filesystem is full -
Is the filesystem still full? These could be files that were removed but a process still has them open. A reboot or a kill of the process would clear those up.
>Please tells us what is the "jfmerge" process
It has a user jfadm. This appears to be some extra jetform? software you installed from Adobe. google shows it may have to do with creating PDF files?
>We checked all the directories and files and also calculate their size but it was not more than 700MB. So what is the reason that it was showing 100% full?
Have you checked the difference between bdf and du -kxs on the mount point?
If different, then it is the "removed" files as I mentioned above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2008 02:00 PM
тАО09-14-2008 02:00 PM
Re: /var/spool Filesystem is full -
If, as Dennis says, you have open files (i.e. inuse by a process) that have been removed (unlinked), then you will not be able to see them with a simple 'ls', *but* any disk blocks used will be held and accounted for until the last process using the file terminates.
Use 'lsof' against the filesystem. Look for files with an "NLINK" count of zero (0). The "SIZE/OFF" field will be the size in characters consumed. Files with a link count of zero are those that have been unlinked (removed):
# lsof +L1 +D /var/spool
If you don't have 'lsof' installed (and you should) fetch it for instatllation from:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.80/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2008 09:01 PM
тАО09-14-2008 09:01 PM
Re: /var/spool Filesystem is full -
Dennis:
The /var/spool filesystem is now 22%. When we killed the "jfmerge" process, suddenly the /var/spool filesystem went to 22% from 100%.
James:
We dont have "lsof" installed, so we need to install it.
But now are facing memory dump error.The o/p of swapinfo command is
[dev2]: / # swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 6652 303 6349 5% 0 - 1 /dev/vg00/lvol2
reserve - 6349 -6349
memory 3004 2903 101 97%
total 9656 9555 101 99% - 0 -
Also we found that in /var/spool/lp/request directory there were large files in one perticular printer-name directiory, which are still there.
regards,
VVS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2008 01:26 AM
тАО09-15-2008 01:26 AM
Re: /var/spool Filesystem is full -
Then there must have been some big files still open.
>But now are facing memory dump error. The o/p of swapinfo command is
What's the connection between the two?
But you are all out of swapspace. You need to add some device swap.
Your previous top output showed three d11adm processes with 5 Gb each.
>we found that in /var/spool/lp/request directory there were large files in one particular printer-name directory
Does it show up with lpstat? If it does, you might want to contact that user, otherwise remove it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2008 05:35 AM
тАО09-16-2008 05:35 AM
Re: /var/spool Filesystem is full -
We are facing the same problem again. The "jfmerge" process was taking 99% of CPU usage. So again I killed that process.
Uptil now, I don't have any information on "jfmerge". Why this process was created? Why the process was taking so much CPU usage?
I attached the screen shot for your reference.
Waiting for your reply...
Regards,
VVS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2008 05:44 AM
тАО09-16-2008 05:44 AM
Re: /var/spool Filesystem is full -
It would appear that your 'jfmerge' process is/was provided by Accelio (now owned by Adobe). I suggest you contact that vendor for more information / support:
http://www.adobe.com/enterprise/accelio_jetform_notice.html
Google is a wonderful tool :-)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2008 05:53 AM
тАО09-16-2008 05:53 AM
Re: /var/spool Filesystem is full -
The jfmerge process either needs to be removed from the system, or updated with a version that doesn't use 99% of the CPU.
It is possible but unlikely that the problem is triggered by OS problems. To eliminate that as a possibility, install the latest QPK or Gold pack for your OS.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2008 12:06 PM
тАО09-16-2008 12:06 PM
Re: /var/spool Filesystem is full -
It looks like you need to get support for that product.
>I don't have any information on "jfmerge". Why this process was created? Why the process was taking so much CPU usage?
You should have more info that we do, you bought the product. :-)
If you want to experiment, you could use tusc on that process to see what it's doing. Or use gdb to get a stack trace.
There are lots of orphaned processes.
You do have a 2 Gb file. Either that's the result of the loop. Or the fact that you don't have largefiles enabled and the particular output file needs to be that big. Or jfmerge isn't 64 bit file aware and it can't handle largefiles.
Note: If you need files that large, you don't have enough space for them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2008 03:37 AM
тАО09-25-2008 03:37 AM
Re: /var/spool Filesystem is full -
Thanks all...