| From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | scrappy(at)hub(dot)org (The Hermit Hacker) |
| Cc: | tgl(at)sss(dot)pgh(dot)pa(dot)us, tih(at)nhh(dot)no, bpm(at)ec-group(dot)com, pgsql-hackers(at)postgreSQL(dot)org |
| Subject: | Re: [HACKERS] postmaster failure with 2-23 snapshot |
| Date: | 1999-02-25 17:42:01 |
| Message-ID: | 199902251742.MAA07550@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> Is there any way (sysctl?) of determining the max # of semaphores
> configured into a system?
>
> I just looked at a sys/sysconfig.h under Solaris, and it appears they have
> an "undocumented function" that does this...but I can't seem to find
> anything right off...
>
> For that matter, being able to do a configure check to see if semaphores
> are even compiled into the system or not (ala FreeBSD) might be nice
> too...
None of the commercial db's do that, so I assume there is no portable
way. We will lower the limit so it will pass most/all kernels, and help
people who need to up it. Perhaps an FAQ for kernels.
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Oleg Broytmann | 1999-02-25 17:42:28 | Re: [HACKERS] Linux: semaphores: How? |
| Previous Message | Bruce Momjian | 1999-02-25 17:40:42 | Re: [HACKERS] VACUUM ANALYZE problem on linux |