Re: [Mono-dev] Semaphores problem with latest mono 1.2.4 svn...

2007-04-24 Thread Hubert FONGARNAND
Ok the problem appear when i use mono-service... i'm investigating on
this issue...

Le lundi 23 avril 2007 à 14:46 +0200, Hubert FONGARNAND a écrit :

 I've tried to upgrade my beta server with mono 1.2.4 from svn from
 1.2.3.50
 
 I launch my mod_mono_servers and i get semaphore errors problem...
 
 When i launch webpage (or when i launch xsp)
 
 I never had such problems before...
 was passiert???
 
 Sincerely
 
 Hubert FONGARNAND
 
 
 
 [EMAIL PROTECTED] CASServer]$ xsp
 
 ** ERROR **: shm_semaphores_init: semget error: Aucun espace disponible sur 
 le périphérique.  Try deleting some semaphores with ipcs and ipcrm
 or increase the maximum number of semaphore in the system.
 aborting...
 Stacktrace:
 
 
 Native stacktrace:
 
 /usr/bin/mono [0x8154055]
 [0xe440]
 /lib/tls/libc.so.6(abort+0xe9) [0x2c1199]
 /usr/lib/libglib-2.0.so.0(g_log+0) [0x5ffebe]
 /usr/lib/libglib-2.0.so.0(g_log+0x32) [0x5ffef0]
 /usr/bin/mono [0x8106a2c]
 /usr/bin/mono [0x80fffae]
 /usr/bin/mono(mono_once+0xdc) [0x80f6068]
 /usr/bin/mono [0x8100594]
 /usr/bin/mono [0x80fb9c8]
 /usr/bin/mono [0x80defbc]
 /usr/bin/mono(mono_runtime_init+0x21) [0x80b262d]
 /usr/bin/mono [0x8140eaa]
 /usr/bin/mono(mono_main+0x2a3) [0x8058293]
 /usr/bin/mono [0x8057ba7]
 /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x2ace23]
 /usr/bin/mono [0x8057b09]
 
 Debug info from gdb:
 
 
 
 =
 Got a SIGABRT while executing native code. This usually indicates
 a fatal error in the mono runtime or one of the native libraries
 used by your application.
 =
 
 Abandon
 
 
 
 [EMAIL PROTECTED] CASServer]$ ipcs
 
 -- Segment de mémoire partagé 
 clé   shmid  propriétaire perms  octets nattch états
 0x 65536  hubert600393216 2  dest
 0x 98305  hubert600196608 2  dest
 0x 131074 hubert600393216 2  dest
 0x 163843 hubert600196608 2  dest
 0x 196612 hubert600393216 2  dest
 0x 229381 hubert600393216 2  dest
 0x 262150 hubert600393216 2  dest
 0x 294919 hubert600393216 2  dest
 0x 327688 hubert600393216 2  dest
 0x 360457 hubert600393216 2  dest
 0x 393226 hubert600196608 2  dest
 0x 425995 hubert600393216 2  dest
 0x 458764 hubert600393216 2  dest
 0x 491533 hubert600196608 2  dest
 0x 557070 hubert600393216 2  dest
 
 -- Tableaux de sémaphores 
 clé   semid  propriétaire perms  nsems
 0x4d00184c 0  hubert6008
 0x4d00184d 65537  hubert6008
 0x 819202 hubert6001
 0x 851971 hubert6001
 0x4d00185d 884740 hubert6008
 0x4d00184e 196613 hubert6008
 0x4d00184f 229382 hubert6008
 0x4d001850 262151 hubert6008
 0x4d001851 294920 hubert6008
 0x4d001852 327689 hubert6008
 0x4d001853 360458 hubert6008
 0x4d001854 393227 hubert6008
 0x4d001855 425996 hubert6008
 0x4d001856 458765 hubert6008
 0x4d001857 491534 hubert6008
 0x4d001858 524303 hubert6008
 0x4d001859 557072 hubert6008
 0x4d00185a 589841 hubert6008
 0x4d00185b 622610 hubert6008
 0x4d00185c 655379 hubert6008
 0x4d00185e 917524 hubert6008
 0x4d00185f 950293 hubert6008
 0x4d001860 983062 hubert6008
 0x4d001861 1015831hubert6008
 0x4d001862 1048600hubert6008
 0x4d001863 1081369hubert6008
 0x4d001864 1114138hubert6008
 0x4d001865 1146907hubert6008
 0x4d001866 1179676hubert6008
 0x4d001867 1212445hubert6008
 0x4d001868 1245214hubert6008
 0x4d001869 1277983hubert6008
 0x4d00186a 1310752hubert6008
 0x4d00186b 1343521hubert6008
 0x4d00186c 1376290hubert6008
 0x4d00186d 1409059hubert6008
 0x4d00186e 1441828hubert6008
 0x4d00186f 1474597hubert6008
 0x4d001870 1507366hubert6008
 0x4d001871 1540135hubert6008
 0x4d001872 1572904hubert600  

[Mono-dev] Semaphores problem with latest mono 1.2.4 svn...

2007-04-23 Thread Hubert FONGARNAND
I've tried to upgrade my beta server with mono 1.2.4 from svn from
1.2.3.50

I launch my mod_mono_servers and i get semaphore errors problem...

When i launch webpage (or when i launch xsp)

I never had such problems before...
was passiert???

Sincerely

Hubert FONGARNAND



[EMAIL PROTECTED] CASServer]$ xsp

** ERROR **: shm_semaphores_init: semget error: Aucun espace disponible sur le 
périphérique.  Try deleting some semaphores with ipcs and ipcrm
or increase the maximum number of semaphore in the system.
aborting...
Stacktrace:


Native stacktrace:

/usr/bin/mono [0x8154055]
[0xe440]
/lib/tls/libc.so.6(abort+0xe9) [0x2c1199]
/usr/lib/libglib-2.0.so.0(g_log+0) [0x5ffebe]
/usr/lib/libglib-2.0.so.0(g_log+0x32) [0x5ffef0]
/usr/bin/mono [0x8106a2c]
/usr/bin/mono [0x80fffae]
/usr/bin/mono(mono_once+0xdc) [0x80f6068]
/usr/bin/mono [0x8100594]
/usr/bin/mono [0x80fb9c8]
/usr/bin/mono [0x80defbc]
/usr/bin/mono(mono_runtime_init+0x21) [0x80b262d]
/usr/bin/mono [0x8140eaa]
/usr/bin/mono(mono_main+0x2a3) [0x8058293]
/usr/bin/mono [0x8057ba7]
/lib/tls/libc.so.6(__libc_start_main+0xd3) [0x2ace23]
/usr/bin/mono [0x8057b09]

Debug info from gdb:



=
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=

Abandon



[EMAIL PROTECTED] CASServer]$ ipcs

-- Segment de mémoire partagé 
clé   shmid  propriétaire perms  octets nattch états
0x 65536  hubert600393216 2  dest
0x 98305  hubert600196608 2  dest
0x 131074 hubert600393216 2  dest
0x 163843 hubert600196608 2  dest
0x 196612 hubert600393216 2  dest
0x 229381 hubert600393216 2  dest
0x 262150 hubert600393216 2  dest
0x 294919 hubert600393216 2  dest
0x 327688 hubert600393216 2  dest
0x 360457 hubert600393216 2  dest
0x 393226 hubert600196608 2  dest
0x 425995 hubert600393216 2  dest
0x 458764 hubert600393216 2  dest
0x 491533 hubert600196608 2  dest
0x 557070 hubert600393216 2  dest

-- Tableaux de sémaphores 
clé   semid  propriétaire perms  nsems
0x4d00184c 0  hubert6008
0x4d00184d 65537  hubert6008
0x 819202 hubert6001
0x 851971 hubert6001
0x4d00185d 884740 hubert6008
0x4d00184e 196613 hubert6008
0x4d00184f 229382 hubert6008
0x4d001850 262151 hubert6008
0x4d001851 294920 hubert6008
0x4d001852 327689 hubert6008
0x4d001853 360458 hubert6008
0x4d001854 393227 hubert6008
0x4d001855 425996 hubert6008
0x4d001856 458765 hubert6008
0x4d001857 491534 hubert6008
0x4d001858 524303 hubert6008
0x4d001859 557072 hubert6008
0x4d00185a 589841 hubert6008
0x4d00185b 622610 hubert6008
0x4d00185c 655379 hubert6008
0x4d00185e 917524 hubert6008
0x4d00185f 950293 hubert6008
0x4d001860 983062 hubert6008
0x4d001861 1015831hubert6008
0x4d001862 1048600hubert6008
0x4d001863 1081369hubert6008
0x4d001864 1114138hubert6008
0x4d001865 1146907hubert6008
0x4d001866 1179676hubert6008
0x4d001867 1212445hubert6008
0x4d001868 1245214hubert6008
0x4d001869 1277983hubert6008
0x4d00186a 1310752hubert6008
0x4d00186b 1343521hubert6008
0x4d00186c 1376290hubert6008
0x4d00186d 1409059hubert6008
0x4d00186e 1441828hubert6008
0x4d00186f 1474597hubert6008
0x4d001870 1507366hubert6008
0x4d001871 1540135hubert6008
0x4d001872 1572904hubert6008
0x4d001873 1605673hubert6008
0x4d001874 1638442hubert6008
0x4d001875 1671211hubert6008
0x4d001876 1703980hubert6008
0x4d001877 1736749hubert6008
0x4d001878 1769518hubert600  

Re: [Mono-dev] Semaphores problem with latest mono 1.2.4 svn...

2007-04-23 Thread Miguel de Icaza
Hello,

 I launch my mod_mono_servers and i get semaphore errors problem...

This is caused merely because you have had many abnormal program
terminations, so there are many semaphores lost.

Remove those semaphores with ipcrm -s  where NNN is the semaphore ID
you listed.

 When i launch webpage (or when i launch xsp)
 
 I never had such problems before...
 was passiert???
 
 Sincerely
 
 Hubert FONGARNAND
 
 
 [EMAIL PROTECTED] CASServer]$ xsp
 
 ** ERROR **: shm_semaphores_init: semget error: Aucun espace disponible sur 
 le périphérique.  Try deleting some semaphores with ipcs and ipcrm
 or increase the maximum number of semaphore in the system.
 aborting...
 Stacktrace:
 
 
 Native stacktrace:
 
 /usr/bin/mono [0x8154055]
 [0xe440]
 /lib/tls/libc.so.6(abort+0xe9) [0x2c1199]
 /usr/lib/libglib-2.0.so.0(g_log+0) [0x5ffebe]
 /usr/lib/libglib-2.0.so.0(g_log+0x32) [0x5ffef0]
 /usr/bin/mono [0x8106a2c]
 /usr/bin/mono [0x80fffae]
 /usr/bin/mono(mono_once+0xdc) [0x80f6068]
 /usr/bin/mono [0x8100594]
 /usr/bin/mono [0x80fb9c8]
 /usr/bin/mono [0x80defbc]
 /usr/bin/mono(mono_runtime_init+0x21) [0x80b262d]
 /usr/bin/mono [0x8140eaa]
 /usr/bin/mono(mono_main+0x2a3) [0x8058293]
 /usr/bin/mono [0x8057ba7]
 /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x2ace23]
 /usr/bin/mono [0x8057b09]
 
 Debug info from gdb:
 
 
 
 =
 Got a SIGABRT while executing native code. This usually indicates
 a fatal error in the mono runtime or one of the native libraries
 used by your application.
 =
 
 Abandon
 
 
 
 [EMAIL PROTECTED] CASServer]$ ipcs
 
 -- Segment de mémoire partagé 
 clé   shmid  propriétaire perms  octets nattch états
 0x 65536  hubert600393216 2  dest
 0x 98305  hubert600196608 2  dest
 0x 131074 hubert600393216 2  dest
 0x 163843 hubert600196608 2  dest
 0x 196612 hubert600393216 2  dest
 0x 229381 hubert600393216 2  dest
 0x 262150 hubert600393216 2  dest
 0x 294919 hubert600393216 2  dest
 0x 327688 hubert600393216 2  dest
 0x 360457 hubert600393216 2  dest
 0x 393226 hubert600196608 2  dest
 0x 425995 hubert600393216 2  dest
 0x 458764 hubert600393216 2  dest
 0x 491533 hubert600196608 2  dest
 0x 557070 hubert600393216 2  dest
 
 -- Tableaux de sémaphores 
 clé   semid  propriétaire perms  nsems
 0x4d00184c 0  hubert6008
 0x4d00184d 65537  hubert6008
 0x 819202 hubert6001
 0x 851971 hubert6001
 0x4d00185d 884740 hubert6008
 0x4d00184e 196613 hubert6008
 0x4d00184f 229382 hubert6008
 0x4d001850 262151 hubert6008
 0x4d001851 294920 hubert6008
 0x4d001852 327689 hubert6008
 0x4d001853 360458 hubert6008
 0x4d001854 393227 hubert6008
 0x4d001855 425996 hubert6008
 0x4d001856 458765 hubert6008
 0x4d001857 491534 hubert6008
 0x4d001858 524303 hubert6008
 0x4d001859 557072 hubert6008
 0x4d00185a 589841 hubert6008
 0x4d00185b 622610 hubert6008
 0x4d00185c 655379 hubert6008
 0x4d00185e 917524 hubert6008
 0x4d00185f 950293 hubert6008
 0x4d001860 983062 hubert6008
 0x4d001861 1015831hubert6008
 0x4d001862 1048600hubert6008
 0x4d001863 1081369hubert6008
 0x4d001864 1114138hubert6008
 0x4d001865 1146907hubert6008
 0x4d001866 1179676hubert6008
 0x4d001867 1212445hubert6008
 0x4d001868 1245214hubert6008
 0x4d001869 1277983hubert6008
 0x4d00186a 1310752hubert6008
 0x4d00186b 1343521hubert6008
 0x4d00186c 1376290hubert6008
 0x4d00186d 1409059hubert6008
 0x4d00186e 1441828hubert6008
 0x4d00186f 1474597hubert6008
 0x4d001870 1507366hubert6008
 0x4d001871 1540135hubert6008
 0x4d001872 1572904hubert6008
 0x4d001873