- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ENOMEM from mmap() on HP-UX/IA 11.31
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
06-18-2021 10:12 AM
06-18-2021 10:12 AM
ENOMEM from mmap() on HP-UX/IA 11.31
We've built clamav-0.103.2 on HP-UX/IA 11.32 with GCC 4.9.4. When running it, we're getting ENOMEM from mmap(). The calls to mmap() are mmap(NULL, <len>, PROT_READ | PROT_WRITE, MAP_PRIVATE | ANONYMOUS_MAP, -1, 0). We have
maxssiz 8388608
shmmax 294967296
$ limit
cputime unlimited
filesize unlimited
datasize 4095MB
stacksize 8MB
coredumpsize 2047MB
resident unlimited
descriptors 2048
addressspace unlimited
cachedthreads 1100
aiooperations unlimited
aiomemorylocked unlimited
RSESTACK 8388608
I read through https://community.hpe.com/t5/Languages-and-Scripting/Problem-with-mmap-function/td-p/4987395#.YMzAy1mYXJ_ and decreased maxssiz (from 128MB -> 8MB) and bumped shmmax but that didn't seem to help If I look at the process listing before the program terminates, I see:
UID PID PPID PRI SZ VSZ TIME COMMAND
0 16211 16011 239 894 835600 00:01:46 clamscan
Should I be modify some other tunable?