473,396 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Postmasters pile up

Hi,

I'm running snort, ulogd and samhain on my system, all using persistent db
connections. Thereby I'm using sqlrelay for my websites (which maintains a
connection pool: default 3 persistent connections, maximal 15).
Although I'm now the only one using the webserver (for testing purposes only),
the number of postmaster processes keeps growing rather fast. It starts at 21
postmaster processes and then grows within less than a quarter to 50 and so
on. This leads to the maximum number of connections being reached.
Checking the connections with netstat, I can only find a few (<10) active at
any moment. Even when I'm not using sqlrelay, the number of postmasters keeps
growing.
Is this a known problem? What are possible causes, and what can I do about it?

I'm using Postgresql 7.4.1-2mdk on Mandrake 9.2.

Thanks in advance,

Erwin Van de Velde
Student of University of Antwerp,
Belgium
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 22 '05 #1
1 1213
On Thu, 26 Feb 2004, Erwin Van de Velde wrote:
Hi,

I'm running snort, ulogd and samhain on my system, all using persistent db
connections. Thereby I'm using sqlrelay for my websites (which maintains a
connection pool: default 3 persistent connections, maximal 15).
Although I'm now the only one using the webserver (for testing purposes only),
the number of postmaster processes keeps growing rather fast. It starts at 21
postmaster processes and then grows within less than a quarter to 50 and so
on. This leads to the maximum number of connections being reached.
Checking the connections with netstat, I can only find a few (<10) active at
any moment. Even when I'm not using sqlrelay, the number of postmasters keeps
growing.
Is this a known problem? What are possible causes, and what can I do about it?


I would tend to think that SQLRelay is having / causing these problems.
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: JC | last post by:
I am very new to programming and learning on my own. Why do I keep getting duplicate values using this code? I want to shuffle a deck of 52 cards. The logic seems right to me. Randomize For...
4
by: Greg Baker | last post by:
I don't know what standard protocol is in this newsgroup. Am I allowed to post code and ask for help? I hope so.. :) Here's my problem: I am trying problem 127 of the valladolid online...
0
by: saggmannen | last post by:
Ok, I've got postgresql to run fine with the 'postmaster -i &', but there is one thing I don't understand. Why does this start up three instances of postmaster? Check e.g. 'ps' or...
2
by: ELAATIFI Sidi Mohamed | last post by:
Voila un plotter de fonctions simple ecrit /* * PLOT.CPP - Dessiner un graph * Design & Programmation : ELAATIFI Sidi Mohamed * <elaatifi@menara.ma> * 01/2005 */ #include <conio.h> #include...
4
by: Robbie | last post by:
Someone at work asked me this question: Value types--do they hit the heap or the pile? Well, I was a bit dumbfounded, because I never heard of the term "pile". I've heard of heap and stack,...
4
by: Gellert, Andre | last post by:
Hello, we installed a new Postgres 7.4.0 on a Suse 9 system. This is used as a part of an extranet , based on Apache+PHP and has besides a ldap server no services running. The system has dual...
1
by: Edwin New | last post by:
I have a requirement to run two separate postmasters on the one machine. It looks like they compete for resources (semaphores) so won't run concurrently. I compiled twice, specifying different...
1
by: LinkaBlack | last post by:
i m designing a solitaire ame in c++......i dont have to use graphics....just use data structure n cmd for out....for the game....i m done with the making of all the classes to b used n the basic...
2
by: shirin.no87 | last post by:
how to make solitaire game of win xp with c++? the game should be in this way: 1:deal:to begin the game 28 cards are dealt into seven piles the leftmost pile has one card the next tow cards...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.