> Run "ipcs -m" to see how many shm segments are
> already allocated.

It seems that WIne is using shared memory only for very limited time as I 
usually see in "ipcs -m" output firefox only (firefox PID is 3081):

 ipcs -m -b -p
IPC status from <running system> as of Wed Feb 27 21:54:26 CET 2008
T         ID      KEY        MODE        OWNER    GROUP      SEGSZ  CPID  LPID
Shared Memory:
m  369098762   0x0        --rw-rw-rw-     petr    staff      67200  3081  2495

To catch Wine I used following sampling shell one liner:

bash-3.2# while true; do  ipcs -m -b -p; done | grep ^m | grep -v 369098762
m 2080374809   0x0        --rw-------     petr    staff       1024 17950  2495
m 2080374829   0x0        --rw-------     petr    staff       1024 17950 17950
m 2080374834   0x0        --rw-------     petr    staff        784 17950 17950
m 2097152007   0x0        --rw-------     petr    staff       1024 17950  2495
m 2097152054   0x0        --rw-------     petr    staff       1024 17950 17950
m 2097152063   0x0        --rw-------     petr    staff        784 17950  2495
m 2113929223   0x0        --rw-------     petr    staff       1280 17950 17950
m 2113929223   0x0        --rw-------     petr    staff       1280 17950 17950
m 1174405132   0x0        --rw-------     petr    staff       1280 17950 17950
m 2113929229   0x0        --rw-------     petr    staff       1280 17950 17950
m 2113929232   0x0        --rw-------     petr    staff       1024 17950 17950
m 2113929232   0x0        --rw-------     petr    staff       1024 17950 17950
m 2113929232   0x0        --rw-------     petr    staff       1024 17950 17950
m 2113929232   0x0        --rw-------     petr    staff       1024 17950 17950
m 2113929232   0x0        --rw-------     petr    staff       1024 17950 17950
m 1929379873   0x0        --rw-------     petr    staff         96 17950 17950
m 2113929267   0x0        --rw-------     petr    staff        784 17950 17950
m 2113929267   0x0        --rw-------     petr    staff        784 17950 17950
m 2113929270   0x0        --rw-------     petr    staff       1024 17950  2495
m 2130706441   0x0        --rw-------     petr    staff        784 17950 17950
m 2130706454   0x0        --rw-------     petr    staff        784 17950 17950
m 2130706466   0x0        --rw-------     petr    staff        784 17950 17950

Note: 
1. First grep is to avoid all lines but data
2. Second grep is to avoid firefox record
3. Wine PID is 17950, Xorg PID is 2495
5. above sequence lead to the X Error (switching from workspace with terminal, 
to workspace with Wine)

This doesn't seem to me as problem of shared memory size.

Btw, I'm using latest Nevada (83).

Petr
 
 
This message posted from opensolaris.org

Reply via email to