pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/postgresql-server Add 'ulimit -n 4096' to in...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cada73288126
branches: trunk
changeset: 463499:cada73288126
user: explorer <explorer%pkgsrc.org@localhost>
date: Fri Nov 14 01:46:39 2003 +0000
description:
Add 'ulimit -n 4096' to increase the number of FDs postgresql can use. This is what we do for mysql-server as well. Bump to nb3.
diffstat:
databases/postgresql-server/Makefile | 4 ++--
databases/postgresql-server/files/pgsql.sh | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r ed38b0576305 -r cada73288126 databases/postgresql-server/Makefile
--- a/databases/postgresql-server/Makefile Fri Nov 14 00:51:43 2003 +0000
+++ b/databases/postgresql-server/Makefile Fri Nov 14 01:46:39 2003 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.35 2003/11/12 03:39:39 jschauma Exp $
+# $NetBSD: Makefile,v 1.36 2003/11/14 01:46:39 explorer Exp $
PKGNAME= postgresql-server-${BASE_VERS}
SVR4_PKGNAME= pstgs
-PKGREVISION= 2
+PKGREVISION= 3
COMMENT= PostgreSQL database server programs
DEPENDS+= postgresql-client>=${BASE_VERS}:../../databases/postgresql-client
diff -r ed38b0576305 -r cada73288126 databases/postgresql-server/files/pgsql.sh
--- a/databases/postgresql-server/files/pgsql.sh Fri Nov 14 00:51:43 2003 +0000
+++ b/databases/postgresql-server/files/pgsql.sh Fri Nov 14 01:46:39 2003 +0000
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: pgsql.sh,v 1.20 2003/10/11 07:05:19 grant Exp $
+# $NetBSD: pgsql.sh,v 1.21 2003/11/14 01:46:39 explorer Exp $
#
# PostgreSQL database rc.d control script
#
@@ -52,6 +52,8 @@
restart_cmd="pgsql_doit restart"
stop_cmd="pgsql_doit stop"
+ulimit -n 4096
+
pgsql_precmd()
{
if [ ! -d ${pgsql_home}/data/base ]; then
Home |
Main Index |
Thread Index |
Old Index