HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Samba problem in HP-UX
Operating System - HP-UX
1838105
Members
3786
Online
110124
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
05-03-2004 07:35 PM
05-03-2004 07:35 PM
Samba problem in HP-UX
Hi,
we get the next message in log.machinename:
[2004/05/04 09:31:43, 0] lib/util.c:(660)
Memory allocation error: failed to expand to 17408 bytes
and the user can´t browse the share.
Some help, please
we get the next message in log.machinename:
[2004/05/04 09:31:43, 0] lib/util.c:(660)
Memory allocation error: failed to expand to 17408 bytes
and the user can´t browse the share.
Some help, please
ppviso
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 07:59 PM
05-03-2004 07:59 PM
Re: Samba problem in HP-UX
The "memory allocation error" comes from the realloc function of samba. So, it can be many things.
One thing for sure. Directories with lots of files (500+) are known to be a hassle to the filesystem AND the softwares. That's why many softwares (like squid, among others) hash their data dir content among multiple dirs.
When a Windows client opens a directory, samba has to list it's entire content. This might be the problem.
So, it could be one reason.
One thing you might want to try though, is to check how much RAM your samba process is allowed to allocate. Get a shell and type :
ulimit -a
There is a chance that your samba, getting more used, now claims more memory than what the system allows it to use.
i think you should try upping ulimit -n from a shell, then restart samba from this shell and retry.
One thing for sure. Directories with lots of files (500+) are known to be a hassle to the filesystem AND the softwares. That's why many softwares (like squid, among others) hash their data dir content among multiple dirs.
When a Windows client opens a directory, samba has to list it's entire content. This might be the problem.
So, it could be one reason.
One thing you might want to try though, is to check how much RAM your samba process is allowed to allocate. Get a shell and type :
ulimit -a
There is a chance that your samba, getting more used, now claims more memory than what the system allows it to use.
i think you should try upping ulimit -n from a shell, then restart samba from this shell and retry.
Im from Palmerston North, New Zealand, but somehow ended up in London...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 10:42 PM
05-03-2004 10:42 PM
Re: Samba problem in HP-UX
Thank's Stefan, ulimit -a tell us that no restriction to memory allocation.
We restart samba and all it's OK.
If problem persist I post another question.
We restart samba and all it's OK.
If problem persist I post another question.
ppviso
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