From a post early year:
-----Original Message-----
From: Alex Rhomberg [mailto:[EMAIL PROTECTED] Sent: Thursday, February 13, 2003 10:20 AM
To: Todd Pearsall; [EMAIL PROTECTED]
Subject: AW: [leaf-user] Bering Ramdisk sizes




> How do I allocate more space to the /dev/root ram disk?


The syst_size Parameter to the kernel, as described in the docs add it to the kernel start line in syslinux.cfg

linux ... PKGPATH=/dev/hdc1 syst_size=20M ... etc.

- Alex






Shed.


Gene Smith wrote:
Shed. wrote:

Gene Smith wrote:

Here is the current df:

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/root                 6144      5196       948  85% /
tmpfs                    15256        16     15240   0% /tmp
tmpfs                     2048      1056       992  52% /var/log

Eventually (maybe after 12-14 hours) /var/log went to 100% and at least one user unable to access web or their email via pop3 until I rebooted LEAF box.

You can increase the memory allocated / with syst_size and /var/log with log_size by editing syslinux.cfg.

default linux initrd=initrd.lrp syst_size=8M log_size=16M init=/linuxrc rw root=/dev/ram0

Hope this helps!
Shed.


Sorry to beat a dead horse, but according to the documentation:

"log_size= Defines the size of the /var/log directory. Default= 2M
syst_size= Defines the size of the TMPFS filesystem. Default= 6M.
tmp_size= Defines the size of the /tmp directory. Default= remaining available memory"


Which basically agrees with what I see with df. However, what do they mean by "remaining avalable memory" for the size of /tmp? I have a total of 32M ram in my LEAF box. The sum of the 3 ramdisk filesystems is approximately 24M. Does this mean the system allocates 8M for true RAM and allows me to partition the remaining 24M between the three fs's? That would make sense but I see no documentation specifying that 8M is the default for true RAM or if it can be adjusted too, but I have been known to miss things. :-)

Anyhow, it appear that if I increase the size of /var/log and/or / I will automatically reduce the size of /tmp. /tmp usually seems to be empty except when I backup a package. Therefore it could be made quite a bit smaller as long as my largest possible package (I think it is ssh) fits into it during backup. Is that right?

Thanks,
-gene






------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to