Solaris Standard Installation SWAP Usage steuern

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
User avatar
daemotron
Administrator
Administrator
Posts: 2643
Joined: 2004-01-21 17:44
 

Re: Solaris Standard Installation SWAP Usage steuern

Post by daemotron »

Wirklich elegant wird schwierig, aber Du könntest zusätzlichen Swap-Space in Form von Dateien bereitstellen (auf irgendeinem FS, auf dem noch genügend Platz frei ist).
“Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint wouldn't even have time to dry.” — Terry Pratchett, Thief of Time
User avatar
Joe User
Project Manager
Project Manager
Posts: 11189
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Solaris Standard Installation SWAP Usage steuern

Post by Joe User »

Wird /tmp unter Solaris als echtes temporäres Filesystem genutzt, also keine Daten abgelegt die einen Reboot/Stromausfall überleben müssen? Dann wäre eine RAMDisk für /tmp eine Alternative. Oder, sofern unter Solaris möglich, eine Art "mount --bind" oder notfalls ein Symlink nach /var/tmp.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
User avatar
daemotron
Administrator
Administrator
Posts: 2643
Joined: 2004-01-21 17:44
 

Re: Solaris Standard Installation SWAP Usage steuern

Post by daemotron »

matzewe01 wrote:Und den bisherigen swap deaktivieren?
Muss ja nicht mal... nach Deiner Schilderung war doch einfach zu wenig Swap-Speicher das Problem. Eine 4GB große Datei mit dd anlegen und als zusätzlichen Swap einbinden - das Monitoring sollte ja die vom Kernel verwaltete Gesamtgröße im "Auge" haben...
“Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint wouldn't even have time to dry.” — Terry Pratchett, Thief of Time
User avatar
Joe User
Project Manager
Project Manager
Posts: 11189
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Solaris Standard Installation SWAP Usage steuern

Post by Joe User »

Symlink für /tmp irgendwohin geht nicht, /usr/tmp oder /home/tmp zum Beispiel?
Unter Linux würde ich ja knallhart, sofern ausreichend vorhanden, auch den RAM der Grafikkarte für /tmp in Betracht ziehen 8) Keine Ahnung ob das unter Solaris oder FreeBSD vergleichbar "einfach" machbar ist...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
User avatar
daemotron
Administrator
Administrator
Posts: 2643
Joined: 2004-01-21 17:44
 

Re: Solaris Standard Installation SWAP Usage steuern

Post by daemotron »

Joe User wrote:Unter Linux würde ich ja knallhart, sofern ausreichend vorhanden, auch den RAM der Grafikkarte für /tmp in Betracht ziehen 8) Keine Ahnung ob das unter Solaris oder FreeBSD vergleichbar "einfach" machbar ist...
Der dürfte sich bei Serverblech von Sun nicht wirklich lohnen (und wenn ich matzewe01 richtig verstehe, handelt es sich um solches...)
“Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint wouldn't even have time to dry.” — Terry Pratchett, Thief of Time