Le 10 déc. 2012 à 08:46, Ryan Schmidt <[email protected]> a écrit :

>> sudo sysctl -w kern.sysv.shmmax=1073741824
>> sudo sysctl -w kern.sysv.shmall=1073741824
> 
> What does that do?

This increases the contents of shared memory available to userland processes 
using System V semantics. The last line should *not* be a size in bytes, but a 
size in pages (= 4,096 bytes). I had to do that too, the default values happens 
to be slightly undersized, especially when you need to support more than a few 
clients.

But the problem of Behrang (now, that’s a Persian name, isn’t it?) is not 
related to that. It is caused by using sudo from a nonexistent working 
directory (i.e. “.”), probably because it was deleted while installing 
postgresql92. Try doing “cd” first, then all the other commands.

Vincent
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to