- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sockets in the /var/tmp dir - can you delete the w...
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
05-21-2004 07:44 AM
05-21-2004 07:44 AM
We have a program that when it malfucitons it keeps opening sockets (inodes) in /var/tmp and not closing the old ones. If I don't notice this in time the system comes to a halt because other programs that require sockets can't get one.
At the moment the only way I have is to delete them in small sections (ie: rm aaaa01*; rm aaaa02*; etc) because anything larger comes up with a "parameter list is too long"
Can I just remove /var/tmp, recreate the tmp dir and then reboot the system or will this cause bigger problems. The other way takes many hours (days).
tks
Cathy Squires
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 07:51 AM
05-21-2004 07:51 AM
SolutionMay I ask if you considered scripting the deletion of these leftover socket files as an immediate remedy and to get to the root of this problem, did you ever talk to the developer of this program to fix this mishap ?
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 07:51 AM
05-21-2004 07:51 AM
Re: sockets in the /var/tmp dir - can you delete the whole dir?
find /var/tmp -type s | xargs rm
just be sure that other programs aren't putting their sockets there too. as this will remove them too
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 07:55 AM
05-21-2004 07:55 AM
Re: sockets in the /var/tmp dir - can you delete the whole dir?
Not a good idea to delete /var/tmp. There are application / processes which might be using, not including users vi jobs and such which are using /var/tmp.
Relax and delete the files the difficult way.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 08:00 AM
05-21-2004 08:00 AM
Re: sockets in the /var/tmp dir - can you delete the whole dir?
Thanks for answering, I thought that's what you'd say, but can't blame me for asking.
Yes I've talked to the programmers about it and I get the "Huh, I've never seen that happen before" Oh well, that (and end users) are why I have a very safe job ;)
Have a good weekend.
ecs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 08:05 AM
05-21-2004 08:05 AM