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

Miguel de Icaza miguel at novell.com
Mon Apr 23 11:14:58 EDT 2007


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 NNNN 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
> 
> 
> [hubert at redhat1 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]
>         [0xffffe440]
>         /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
> 
> 
> 
> [hubert at redhat1 CASServer]$ ipcs
> 
> ------ Segment de mémoire partagé --------
> clé       shmid      propriétaire perms      octets     nattch     états
> 0x00000000 65536      hubert    600        393216     2          dest
> 0x00000000 98305      hubert    600        196608     2          dest
> 0x00000000 131074     hubert    600        393216     2          dest
> 0x00000000 163843     hubert    600        196608     2          dest
> 0x00000000 196612     hubert    600        393216     2          dest
> 0x00000000 229381     hubert    600        393216     2          dest
> 0x00000000 262150     hubert    600        393216     2          dest
> 0x00000000 294919     hubert    600        393216     2          dest
> 0x00000000 327688     hubert    600        393216     2          dest
> 0x00000000 360457     hubert    600        393216     2          dest
> 0x00000000 393226     hubert    600        196608     2          dest
> 0x00000000 425995     hubert    600        393216     2          dest
> 0x00000000 458764     hubert    600        393216     2          dest
> 0x00000000 491533     hubert    600        196608     2          dest
> 0x00000000 557070     hubert    600        393216     2          dest
> 
> ------ Tableaux de sémaphores --------
> clé       semid      propriétaire perms      nsems
> 0x4d00184c 0          hubert    600        8
> 0x4d00184d 65537      hubert    600        8
> 0x00000000 819202     hubert    600        1
> 0x00000000 851971     hubert    600        1
> 0x4d00185d 884740     hubert    600        8
> 0x4d00184e 196613     hubert    600        8
> 0x4d00184f 229382     hubert    600        8
> 0x4d001850 262151     hubert    600        8
> 0x4d001851 294920     hubert    600        8
> 0x4d001852 327689     hubert    600        8
> 0x4d001853 360458     hubert    600        8
> 0x4d001854 393227     hubert    600        8
> 0x4d001855 425996     hubert    600        8
> 0x4d001856 458765     hubert    600        8
> 0x4d001857 491534     hubert    600        8
> 0x4d001858 524303     hubert    600        8
> 0x4d001859 557072     hubert    600        8
> 0x4d00185a 589841     hubert    600        8
> 0x4d00185b 622610     hubert    600        8
> 0x4d00185c 655379     hubert    600        8
> 0x4d00185e 917524     hubert    600        8
> 0x4d00185f 950293     hubert    600        8
> 0x4d001860 983062     hubert    600        8
> 0x4d001861 1015831    hubert    600        8
> 0x4d001862 1048600    hubert    600        8
> 0x4d001863 1081369    hubert    600        8
> 0x4d001864 1114138    hubert    600        8
> 0x4d001865 1146907    hubert    600        8
> 0x4d001866 1179676    hubert    600        8
> 0x4d001867 1212445    hubert    600        8
> 0x4d001868 1245214    hubert    600        8
> 0x4d001869 1277983    hubert    600        8
> 0x4d00186a 1310752    hubert    600        8
> 0x4d00186b 1343521    hubert    600        8
> 0x4d00186c 1376290    hubert    600        8
> 0x4d00186d 1409059    hubert    600        8
> 0x4d00186e 1441828    hubert    600        8
> 0x4d00186f 1474597    hubert    600        8
> 0x4d001870 1507366    hubert    600        8
> 0x4d001871 1540135    hubert    600        8
> 0x4d001872 1572904    hubert    600        8
> 0x4d001873 1605673    hubert    600        8
> 0x4d001874 1638442    hubert    600        8
> 0x4d001875 1671211    hubert    600        8
> 0x4d001876 1703980    hubert    600        8
> 0x4d001877 1736749    hubert    600        8
> 0x4d001878 1769518    hubert    600        8
> 0x4d001879 1802287    hubert    600        8
> 0x4d00187a 1835056    hubert    600        8
> 0x4d00187b 1867825    hubert    600        8
> 0x4d00187c 1900594    hubert    600        8
> 0x4d00187d 1933363    hubert    600        8
> 0x4d00187e 1966132    hubert    600        8
> 0x4d00187f 1998901    hubert    600        8
> 0x4d001880 2031670    hubert    600        8
> 0x4d001881 2064439    hubert    600        8
> 0x4d001882 2097208    hubert    600        8
> 0x4d001883 2129977    hubert    600        8
> 0x4d001884 2162746    hubert    600        8
> 0x4d001885 2195515    hubert    600        8
> 0x4d001886 2228284    hubert    600        8
> 0x4d001887 2261053    hubert    600        8
> 0x4d001888 2293822    hubert    600        8
> 0x4d001889 2326591    hubert    600        8
> 0x4d00188a 2359360    hubert    600        8
> 0x4d00188b 2392129    hubert    600        8
> 0x4d00188c 2424898    hubert    600        8
> 0x4d00188d 2457667    hubert    600        8
> 0x4d00188e 2490436    hubert    600        8
> 0x4d00188f 2523205    hubert    600        8
> 0x4d001890 2555974    hubert    600        8
> 0x4d001891 2588743    hubert    600        8
> 0x4d001892 2621512    hubert    600        8
> 0x4d001893 2654281    hubert    600        8
> 0x4d001894 2687050    hubert    600        8
> 0x4d001895 2719819    hubert    600        8
> 0x4d001896 2752588    hubert    600        8
> 0x4d001897 2785357    hubert    600        8
> 0x4d001898 2818126    hubert    600        8
> 0x4d001899 2850895    hubert    600        8
> 0x4d00189a 2883664    hubert    600        8
> 0x4d00189b 2916433    hubert    600        8
> 0x4d00189c 2949202    hubert    600        8
> 0x4d00189d 2981971    hubert    600        8
> 0x4d00189e 3014740    hubert    600        8
> 0x4d00189f 3047509    hubert    600        8
> 0x4d0018a0 3080278    hubert    600        8
> 0x4d0018a1 3113047    hubert    600        8
> 0x4d0018a2 3145816    hubert    600        8
> 0x4d0018a3 3178585    hubert    600        8
> 0x4d0018a4 3211354    hubert    600        8
> 0x4d0018a5 3244123    hubert    600        8
> 0x4d0018a6 3276892    hubert    600        8
> 0x4d0018a7 3309661    hubert    600        8
> 0x4d0018a8 3342430    hubert    600        8
> 0x4d0018a9 3375199    hubert    600        8
> 0x4d0018aa 3407968    hubert    600        8
> 0x4d0018ab 3440737    hubert    600        8
> 0x4d0018ac 3473506    hubert    600        8
> 0x4d0018ad 3506275    hubert    600        8
> 0x4d0018ae 3539044    hubert    600        8
> 0x4d0018af 3571813    hubert    600        8
> 0x4d0018b0 3604582    hubert    600        8
> 0x4d0018b1 3637351    hubert    600        8
> 0x4d0018b2 3670120    hubert    600        8
> 0x4d0018b3 3702889    hubert    600        8
> 0x4d0018b4 3735658    hubert    600        8
> 0x4d0018b5 3768427    hubert    600        8
> 0x4d0018b6 3801196    hubert    600        8
> 0x4d0018b7 3833965    hubert    600        8
> 0x4d0018b8 3866734    hubert    600        8
> 0x4d0018b9 3899503    hubert    600        8
> 0x4d0018ba 3932272    hubert    600        8
> 0x4d0018bb 3965041    hubert    600        8
> 0x4d0018bc 3997810    hubert    600        8
> 0x4d0018bd 4030579    hubert    600        8
> 0x4d0018be 4063348    hubert    600        8
> 0x4d0018bf 4096117    hubert    600        8
> 0x4d0018c0 4128886    hubert    600        8
> 0x4d0018c1 4161655    hubert    600        8
> 0x4d0018c2 4194424    hubert    600        8
> 0x4d0018c3 4227193    hubert    600        8
> 0x4d0018c4 4259962    hubert    600        8
> 0x4d0018c5 4292731    hubert    600        8
> 0x4d0018c6 4325500    hubert    600        8
> 0x4d0018c7 4358269    hubert    600        8
> 0x4d0018c8 4391038    hubert    600        8
> 0x4d0018c9 4423807    hubert    600        8
> 
> ------ Queues de messages --------
> clé       msqid      propriétaire perms      octets-utilisés messages
> _______________________________________________
> Ce message et les ventuels documents joints peuvent contenir des
> informations confidentielles.
> Au cas o il ne vous serait pas destin, nous vous remercions de bien
> vouloir le supprimer et en aviser immdiatement l'expditeur. Toute
> utilisation de ce message non conforme sa destination, toute diffusion
> ou publication, totale ou partielle et quel qu'en soit le moyen est
> formellement interdite.
> Les communications sur internet n'tant pas scurises, l'intgrit de ce
> message n'est pas assure et la socit mettrice ne peut tre tenue pour
> responsable de son contenu. 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list