Menu

#547 Makegraphs and /ram not correct.

Next major version
open
nobody
None
5
2015-10-03
2015-10-02
No

I am brand new to this system so I have no idea what I'm doing. Forgive me.
A couple small edits if they haven't been dealt with already, on IPCop 2.1.9 and below (I think).

Traffic and Network graphs not working:

fcrontab calls makegraphs, the file does not exist. This must be changed to call makegraphs.pl

/ram to small (64mB)

install writes /var/ipcop/main/flashsettings as 60%60%60%60%60% etcetera. 64mB becomes the default since this file says nothing useful to the system. Should read only (example): TMPFS_MAX_SIZE=50%
This will assign the allocated memory size for /ram to half of installed memory.

My two cents, you probably already know this, but I haven't been able to find these answers anywhere.

Related

Feature Requests: #547

Discussion

  • David W Studeman (Davesworld)

    I do not see nor have I ever seen cron not point to the right file for makegraphs. My current 2.1.9 cron shows:
    Make some nice graphs
    /5 * * * /usr/local/bin/makegraphs.pl >/dev/null

    As far as the assertion that flash settings should read only in percentage of ram, well, it's an option that was not available on the old ramdisk (rd) filesystem wherein you had to use a fixed size. TMPFS allows one to use percentage and I always use 50% myself but it is not compulsory to use percentage on TMPFS. If anything the installer should allow for putting in a percentage rather than just a MB value or blank for no value at all since TMPFS defaults to 50% anyway.

     
    • Benjamin Fried

      Benjamin Fried - 2015-10-04

      My apologies, I checked the setting on a fresh install of 2.1.9, and it is correct. This issue must have come from an earlier installed version which I upgraded to 2.1.9.

      I wasn’t trying to suggest that the TMPFS size should be a percentage nor do I even suggest an appropriate size. Sorry, that was misleading. I was saying that since the flashsettings file isn’t written with meaningful information, by default the system doesn’t actually take advantage of greater amount of installed RAM. This may also be an earlier version issue.

      For background, I was using an IPCop install where I could not view traffic or system graphs, I also repeatedly had an issue with system traffic shutting down because the ramdisk (it was a flash installation, of course) filled up completely with logs. I searched around for a solution to this, but could find very little about it. /ram was 64GB, but should have been more as I had 3GB RAM to work with. I finally figured out the routine for creating /ram was looking to flashsettings to supply a value for TMPFS_MAX_SIZE.

      anyway, these problems are probably the result of this being an install of an earlier version of IPCop, and the updates don’t fix these things. I wanted to put it out there somewhere in case there are other people wondering the same things.

      Thank you for your response.

      On Oct 3, 2015, at 5:50 PM, David W Studeman (Davesworld) davews@users.sf.net wrote:

      I do not see nor have I ever seen cron not point to the right file for makegraphs. My current 2.1.9 cron shows:
      Make some nice graphs
      /5 * * * /usr/local/bin/makegraphs.pl >/dev/null

      As far as the assertion that flash settings should read only in percentage of ram, well, it's an option that was not available on the old ramdisk (rd) filesystem wherein you had to use a fixed size. TMPFS allows one to use percentage and I always use 50% myself but it is not compulsory to use percentage on TMPFS. If anything the installer should allow for putting in a percentage rather than just a MB value or blank for no value at all since TMPFS defaults to 50% anyway.

      [feature-requests:#547] http://sourceforge.net/p/ipcop/feature-requests/547/ Makegraphs and /ram not correct.

      Status: open
      Group: Next major version
      Created: Fri Oct 02, 2015 10:01 PM UTC by Benjamin Fried
      Last Updated: Fri Oct 02, 2015 10:01 PM UTC
      Owner: nobody

      I am brand new to this system so I have no idea what I'm doing. Forgive me.
      A couple small edits if they haven't been dealt with already, on IPCop 2.1.9 and below (I think).

      Traffic and Network graphs not working:

      fcrontab calls makegraphs, the file does not exist. This must be changed to call makegraphs.pl

      /ram to small (64mB)

      install writes /var/ipcop/main/flashsettings as 60%60%60%60%60% etcetera. 64mB becomes the default since this file says nothing useful to the system. Should read only (example): TMPFS_MAX_SIZE=50%
      This will assign the allocated memory size for /ram to half of installed memory.

      My two cents, you probably already know this, but I haven't been able to find these answers anywhere.
      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/ipcop/feature-requests/547/ https://sourceforge.net/p/ipcop/feature-requests/547/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/

       

      Related

      Feature Requests: #547


Log in to post a comment.