<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forum PostgreSQL - liczne procesy postmaster'a]]></title>
	<link rel="self" href="http://forum.postgresql.org.pl/extern.php?action=feed&amp;tid=23&amp;type=atom"/>
	<updated>2008-04-15T07:04:32Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.postgresql.org.pl/viewtopic.php?id=23</id>
		<entry>
			<title type="html"><![CDATA[Odp: liczne procesy postmaster'a]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=101#p101"/>
			<content type="html"><![CDATA[Już wiem. To był problem funkcji 
pg_pconnect - od stałych połączeń
Funkcja pg_close nie zamyka tych połączeń i dlatego tyle się ich namnażało. 
Czyli problem zwalczony - dzięki za pomoc.]]></content>
			<author>
				<name><![CDATA[akuczak]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=24</uri>
			</author>
			<updated>2008-04-15T07:04:32Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=101#p101</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: liczne procesy postmaster'a]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=100#p100"/>
			<content type="html"><![CDATA[[quote=akuczak]To nie może byc taki problem. Po restarcie postgresa problem znika.[/quote]
To znaczy, raz mozesz sie zalogowac a raz nie. Ale i tak blad, ktory sie pojawia
[quote=akurczak]Unable to connect to PostgreSQL server: FATAL:  user &quot;password=&quot; does not exist in /usr/local/www/data-dist/pestka07/dk/funkcje.php on line 437[/quote]
jest bledem php. Pytanie dlaczego skrypt próbuje zalogowac sie do bazy uzywajac password jako nazwy uzytkownika. Czy w funkcjie.php pg_connect generujesz dynamicznie? Uzywasz skladni 
[code]pg_connect("host=.. port=..) czy skróconej, baz nazw argumentów.[/code]
Moze tu jest problem.]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2008-04-14T12:23:10Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=100#p100</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: liczne procesy postmaster'a]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=99#p99"/>
			<content type="html"><![CDATA[To nie może byc taki problem. Po restarcie postgresa problem znika.]]></content>
			<author>
				<name><![CDATA[akuczak]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=24</uri>
			</author>
			<updated>2008-04-14T11:57:20Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=99#p99</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: liczne procesy postmaster'a]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=98#p98"/>
			<content type="html"><![CDATA[ale jak na moj gust to nie jest blad postgresa tylko w php w funkcji pg_connect(). Na pewno dobrze ja napisales?
Sprawdz prostym skryptem czy dobrze laczysz sie z postgresem cos w stylu

$conn=pg_connect("wpisz swoje dane")
if (!$conn){
     echo "nie polaczylem sie";
}
else{
    echo "polaczylem sie";
}

sprawdz co ci wypisze. Mam nadzieje ze nic w kodzie nie namieszalem bo juz dlugo nic nie pisalem w php.]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2008-04-14T11:54:14Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=98#p98</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: liczne procesy postmaster'a]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=97#p97"/>
			<content type="html"><![CDATA[w httpd-errors.log jest taki wpis: 
[Wed Mar  5 10:40:09 2008] [error] PHP Warning:  pg_connect() [<a href='function.pg-connect'>function.pg-connect</a>]: Unable to connect to PostgreSQL server: FATAL:  user &quot;password=&quot; does not exist in /usr/local/www/data-dist/pestka07/dk/funkcje.php on line 437

i taki jest efekt : user unkown.
Innych logów nie umiem włączać ;(]]></content>
			<author>
				<name><![CDATA[akuczak]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=24</uri>
			</author>
			<updated>2008-04-14T10:46:54Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=97#p97</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: liczne procesy postmaster'a]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=96#p96"/>
			<content type="html"><![CDATA[Ale co zapisuje postgres w logach. Wlaczyles dosc szczególowe logowanie (kto, kiedy ..?)]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2008-04-14T09:14:21Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=96#p96</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: liczne procesy postmaster'a]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=95#p95"/>
			<content type="html"><![CDATA[[quote=rski]Co znaczy, że nie wpuszcza nowych uzytkownikow. Jakis komunikat bledu, cos w logach? Ilu klientow chcesz obsluzyc?[/quote]
Efekt jest taki, ze do bazy z www nie mogą się zalogować. A klientów muszę obsłużyć dużo (baza ankiet anonimowych). 

A może procesy postmastera wiszą nawet po zamknięciu przeglądarki?]]></content>
			<author>
				<name><![CDATA[akuczak]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=24</uri>
			</author>
			<updated>2008-04-14T08:24:54Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=95#p95</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: liczne procesy postmaster'a]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=94#p94"/>
			<content type="html"><![CDATA[Co znaczy, że nie wpuszcza nowych uzytkownikow. Jakis komunikat bledu, cos w logach? Ilu klientow chcesz obsluzyc?]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2008-04-14T07:29:30Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=94#p94</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: liczne procesy postmaster'a]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=93#p93"/>
			<content type="html"><![CDATA[[quote=rski]Ilu klientów możesz obsłużyć. Jakie jest ustawienie max_connections w pliku postgresql.conf?[/quote]
mam w pliku:
max_connections=100
za dużo?]]></content>
			<author>
				<name><![CDATA[akuczak]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=24</uri>
			</author>
			<updated>2008-04-14T07:07:15Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=93#p93</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: liczne procesy postmaster'a]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=69#p69"/>
			<content type="html"><![CDATA[Ilu klientów możesz obsłużyć. Jakie jest ustawienie max_connections w pliku postgresql.conf?]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2008-04-09T14:53:20Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=69#p69</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[liczne procesy postmaster'a]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=68#p68"/>
			<content type="html"><![CDATA[Kłopot taki: każdy użytkownik bazy przez www generuje nowy proces postmastera i tych procesów robi się dużo - za dużo i wtedy nie wpuszcza nowych user'ów do bazy - co trzeba zmienić?]]></content>
			<author>
				<name><![CDATA[akuczak]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=24</uri>
			</author>
			<updated>2008-04-09T12:45:10Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=68#p68</id>
		</entry>
</feed>
