No Space Left - Memory/Swap issue


 
Thread Tools Search this Thread
Operating Systems Solaris No Space Left - Memory/Swap issue
# 1  
Old 02-17-2011
No Space Left - Memory/Swap issue

SmilieI'm having a bit of a problem with Solaris 10u8 and one of our applications requesting memory and being told, "no space left".

The break down:
24GB Physical Memory
8GB swap

at the time of occurance, here's what a memory breakdown looks like:
Code:
Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                     636499              4972   21%
ZFS File Data              268245              2095    9%
Anon                      1973955             15421   64%
Exec and libs               18347               143    1%
Page cache                  41447               323    1%
Free (cachelist)            30647               239    1%
Free (freelist)            115911               905    4%

Total                     3085051             24101
Physical                  3063472             23933
Filesystem            Size  Used Avail Use% Mounted on
swap                  789M  704K  789M   1% /tmp

Paging stats:
     memory           page          executable      anonymous      filesystem 
   swap  free  re  mf  fr  de  sr  epi  epo  epf  api  apo  apf  fpi  fpo  fpf
 3688208 1356288 285 1777 0 0   0    0    0    0    0    0    0    2    0    0
 762656 1185672 136 674 0   0   0    0    0    0    0    0    0    0    0    0
 757696 1180080 395 2615 0  0   0    0    0    0    0    0    0    0    0    0
 712176 1178880 353 3855 0  0   0    0    0    0    0    0    0    0    0    0
 566184 1168464 269 2736 0  0   0    0    0    0    0    0    0    0    0    0

Virtual Memory stats:
 kthr      memory            page            disk          faults      cpu
 r b w   swap  free  re  mf pi po fr de sr s0 s1 s2 --   in   sy   cs us sy id
 0 0 0 3688208 1356288 285 1777 2 0 0 0  0 10 10 -0  0 1868 341675 1735 5 5 90
 1 0 0 749288 1171536 165 1551 0 0 0  0  0  1  0  0  0 3000 590641 3019 12 6 82
 0 0 0 716488 1182048 177 2050 4 0 0  0  0  0  0  0  0 3700 470588 3925 11 6 83
 0 0 0 762504 1182488 93 558 0  0  0  0  0 124 184 0 0 4330 612541 4701 11 7 82
 0 0 0 762304 1181776 105 489 0 0  0  0  0 86 247 0  0 2730 604930 2779 9 4 87

As you can see, there is 900MB physical memory left and 1.1GB of swap free. There are around 1100 processes, all running as a spawned child of one process. I've looked at projmod for limitations, but haven't found any.

Any thoughts? I'm fresh out of new ideas...
# 2  
Old 02-17-2011
Just add a couple of GB of swap space. You have as low as 566MB free, not 1.1GB.
# 3  
Old 02-17-2011
Well, right I see that. But Solaris shouldn't be reporting "no space left" when, technically, there is. Am I right?
# 4  
Old 02-17-2011
It depends how much memory your application is requesting.
# 5  
Old 02-17-2011
@aychbee45: I'm afraid not. Solaris reports "no space left" when a reservation cannot be fulfilled. Depending on how much memory is requested, this can happen with a significant amount of free swap.
# 6  
Old 02-17-2011
Quote:
Originally Posted by bartus11
It depends how much memory your application is requesting.
Each session is about 30-50MB (including shared libs) 10-20MB anon. We go from 1080 users to 1087 and the error starts happening.

---------- Post updated at 04:29 PM ---------- Previous update was at 04:29 PM ----------

Quote:
Originally Posted by jlliagre
@aychbee45: I'm afraid not. Solaris reports "no space left" when a reservation cannot be fulfilled. Depending on how much memory is requested, this can happen with a significant amount of free swap.
Even if there is 900MB physical memory available as well?
# 7  
Old 02-17-2011
You cannot think of available memory as "physical + swap". Swap is only used as backup in case of physical memory shortage, which Solaris requires for every running process. So to avoid errors you should have few GB of swap more.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

No space left on device while there is plenty of space available

Hello all posting here after scanning the net and tried most of the things offered still no solution that worked when I do : $ df -h Filesystem Size Used Avail Use% Mounted on footmpfs 7.9G 60K 7.9G 1% /dev tmpfs 7.9G 0 7.9G 0% /dev/shm /dev/da1 ... (3 Replies)
Discussion started by: umen
3 Replies

2. AIX

AIX swap space, physical memory & cache

Hi, I am new to AIX, Can someone please help me how to know the swap space, total physical memory and system cache? We are using AIX 5.3. Thanks! (3 Replies)
Discussion started by: Phaneendra G
3 Replies

3. Linux

Swap memory issue

Hi, In our production box i can see the Swap space using the below command free total used free shared buffers cached Mem: 65963232 41041084 24922148 0 877160 35936292 -/+ buffers/cache: 4227632 61735600 Swap: 4192880 ... (6 Replies)
Discussion started by: ratheeshjulk
6 Replies

4. UNIX for Advanced & Expert Users

Swap space issue

I have Solaris-10 with mutiple zones running in it. My Big Brother monitoring is complaining for very less swap space available, but I am not able to find, what process has consumed its swap space and how to clear it. All zones including global server have almost blank /tmp with very less data.... (3 Replies)
Discussion started by: solaris_1977
3 Replies

5. HP-UX

Swap space issue.

Hi, I am not sure how many scripts / java processes running on my HP-UX server. I need to calculate the total heap of these processes. I then need to recommend increasing the swap memory to be increase and equal to total heap if that is the right concept. Currently we are facing... (2 Replies)
Discussion started by: mohtashims
2 Replies

6. Solaris

No space left on device but free space and inodes are available...

hi guys, me again ;) i recently opened a thread about physical to zone migration. My zone is mounted over a "bigger" LUN (500GB) and step is now to move the old files, from the physical server, to my zone. We are talking about 22mio of files. i used rsync to do that and every time at... (8 Replies)
Discussion started by: beta17
8 Replies

7. Solaris

swap space issue

HI All, Recently during oracle install I realized that I did not have enough swap space. So I - 1. Created a swap file "swap_fille1" in /rpool using mkfile - # ls -ltr /rpool total 10487121 drwxr-xr-x 3 root root 3 Dec 21 12:09 boot drwxr-xr-x 2 root root ... (10 Replies)
Discussion started by: sumeet
10 Replies

8. UNIX for Advanced & Expert Users

Issue with insufficient swap or memory space

Hi, When I execute one of my shellscript I am getting the below mentioned error message .This application takes 2input files which have the records counts 26463 and 1178046 exec(2): insufficient swap or memory available. exec(2): insufficient swap or memory available. exec(2): insufficient swap... (3 Replies)
Discussion started by: kavithakuttyk
3 Replies

9. Shell Programming and Scripting

Issue with insufficient swap or memory space

Hi, When I execute one of my shellscript I am getting the below mentioned error message .This application takes 2input files which have the records counts 26463 and 1178046 exec(2): insufficient swap or memory available. exec(2): insufficient swap or memory available. exec(2):... (2 Replies)
Discussion started by: kavithakuttyk
2 Replies

10. HP-UX

swap space (lvol2) is not using when physical memory is 98% used

Dear all I have rp7620 sever with hp-ux 11.23 this swap space is not yet used when the physical memory usage of 98 %. through openview it's shows memory bottleneck . how to resolve the problem. Rajesh (1 Reply)
Discussion started by: rajeshtt32
1 Replies
Login or Register to Ask a Question