Author Topic: /proc/sys/net/core/rmem_max PERMISSION DENIED  (Read 1277 times)

Offline SunWupen

  • Jr. Member
  • **
  • Posts: 24
/proc/sys/net/core/rmem_max PERMISSION DENIED
« on: July 27, 2010, 06:25:15 PM »
Every time I try to run this command "/proc/sys/net/core/rmem_max" I get a Permission denied message.  I tried it using "su" and I've even gone as far as switching to Root (I know, I'm not supposed to...) but this command seems to be stubborn.  I don't know how to give myself permission to tweak my TCP/IP parameters.

I think I seem to remember having a "permission" problem with one of my other programs.  I don't remember how I solved it v(-_-)v

Online muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: /proc/sys/net/core/rmem_max PERMISSION DENIED
« Reply #1 on: July 27, 2010, 06:38:38 PM »
That is not a command, it is a path to a virtual file meant to be read as a text file, type the following command on the terminal to see what it contains "cat /proc/sys/net/core/rmem_max"

"/proc" is a virtual file system meant to provide runtime information of the system and running processes in a form that can be accessed as if the information is contained in regular text files.

what exactly is the problem you are trying to solve?
« Last Edit: July 27, 2010, 06:41:39 PM by muungwana »
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline SunWupen

  • Jr. Member
  • **
  • Posts: 24
Re: /proc/sys/net/core/rmem_max PERMISSION DENIED
« Reply #2 on: July 27, 2010, 06:45:01 PM »
I guess I just didn't understand the command from speedguide.net.  I'm trying to maximize my TCP buffer size (I think).  I heard that changing a few things with the TCP can increase speed ten fold.

Ultimately, my goal is to be able to host online matches with a few games I own.  My current settings are fairly slow and I can't host many players without serious lag issues.  I know part of it is my ISP which there isn't much I can do about, but I want to change things where I can to maximize my connection.

Online muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: /proc/sys/net/core/rmem_max PERMISSION DENIED
« Reply #3 on: July 27, 2010, 06:54:24 PM »

a bit of googling and i came up with this article: http://www.speedguide.net/read_articles.php?id=121

as this article shows, one way to modify the variable you want to is to use the "echo" command and a redirect to the path to the file but this option will not survive reboot, the permanent way is to add the options in sysctl.conf file as directed in the article.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..