niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » PostgreSQL
Mac OS X 10.3 and SYSV shared memory settings
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
Kevin Murphy
*nix forums beginner


Joined: 11 Mar 2005
Posts: 30

PostPosted: Fri Mar 11, 2005 3:36 pm    Post subject: Mac OS X 10.3 and SYSV shared memory settings Reply with quote

Because I was just burned by this, I'd like to remind OS X users that
OS 10.3 (Panther) may be a less desirable platform than 10.2 for
running PostgreSQL and other applications that benefit from customizing
SYSV shared memory settings.

The problem is that in 10.3, there unbelievably seems to be no reliable
way to customize the SYSV shared memory settings such that the settings
are preserved across OS updates (10.3.6 to 10.3.7, e.g.)!

The following reminder from the PG 8.0 manual (thanks to whomever put
this in) also applies to PG 7.4.X, and it is incredibly important:

"In OS X 10.3, these commands [shared memory sysctl commands] have been
moved to /etc/rc and must be edited there. You'll need to reboot to
make changes take effect. Note that /etc/rc is usually overwritten by
OS X updates (such as 10.3.6 to 10.3.7) so you should expect to have to
redo your editing after each update."

If someone has a solution to this problem, please let me know. In the
meantime we'll have to implement a cron-driven alert and a policy
change, hope that transitioning to a new sysadmin at a later date does
not screw us, and pray that 10.4 provides a solution to this problem.
A simple change to /etc/rc on Apple's part seems to be all that would
be required - it already executes sysctl commands from a user-defined
/etc/sysctl.conf file, but the shared memory settings can only be set
*once*, and /etc/rc happens to set the defaults before reading
/etc/sysctl.conf. I can have a cron job remove the shared memory
sysctls in /etc/rc if they reappear, but that would be a decidedly
imperfect kludge.

Kevin Murphy


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 7:54 am | All times are GMT
navigation Forum index » Databases » PostgreSQL
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts postfix out of memory error - please help metind Postfix 0 Mon Sep 11, 2006 1:54 am
No new posts Non IBM memory in p630 Ron AIX 0 Fri Jul 21, 2006 2:05 pm
No new posts database Share Memory Limit (2 GB ) in a Instance is tota... sadanjan@gmail.com IBM DB2 0 Fri Jul 21, 2006 12:57 pm
No new posts Where is this code not freeing memory ? jithoosin C++ 2 Fri Jul 21, 2006 9:39 am
No new posts Where is this code not freeing memory ? jithoosin C++ 1 Fri Jul 21, 2006 9:27 am

Shops | Credit Cards | Photography | Neopets Cheats, Games and Neopoints | Credit Cards
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1192s ][ Queries: 16 (0.0446s) ][ GZIP on - Debug on ]