Re: [GTALUG] Spamhaus block

2019-02-27 Thread ac via talk
Uhm, no. For example: If you would ask 8.8.4.4 the in-addr.arpa for "your" rented OVH ip resource, then 8.8.4.4 would go and ask OVH for the answer. And no, Spamhaus does not "red flag" any ipv4/6 resource for lack of a reverse name. So no mystery for me here... OVH is known for being less th

Re: [GTALUG] optimum swap size

2019-02-27 Thread David Collier-Brown via talk
Well. sorta /proc, that underlies most Linux tools --dave On 2019-02-27 4:48 p.m., Gary via talk wrote: I suspect you use vmstat to determine the swap usage (?) /gary On 19-02-27 01:14 PM, Dave Collier-Brown via talk wrote: Linux is somewhat unusual in that it dynamically kills large proces

Re: [GTALUG] optimum swap size

2019-02-27 Thread Gary via talk
I suspect you use vmstat to determine the swap usage (?) /gary On 19-02-27 01:14 PM, Dave Collier-Brown via talk wrote: Linux is somewhat unusual in that it dynamically kills large processes when it's running out of memory. You used to have to set limits to get that behavior. Because of it, I

Re: [GTALUG] optimum swap size

2019-02-27 Thread Gary via talk
This is good to know. /gary On 19-02-27 12:10 PM, William Porquet wrote: I've done both as a hack yes. W. On Wed, Feb 27, 2019, 11:51 AM Gary via talk, > wrote: So another 2 gigs of swap wouldn't hurt. Can I use a swap file IN ADDITION TO a swap partition?

Re: [GTALUG] optimum swap size

2019-02-27 Thread Alvin Starr via talk
As a side note. I have found that at times it is better to have no swap space or a small swap space. In the case of things like web servers, a sudden burst of activity can cause the web server to start to run into swap. Once this starts the response to requests starts to slow and quickly the

Re: [GTALUG] optimum swap size

2019-02-27 Thread David Collier-Brown via talk
Linux is somewhat unusual in that it dynamically kills large processes when it's running out of memory. You used to have to set limits to get that behavior.   Because of it, I run a moderately large swap (~8 GB) and can watch large jobs drive swap usage up. Then /*I*/ decide if I want them dead

Re: [GTALUG] optimum swap size

2019-02-27 Thread Dave Collier-Brown via talk
Linux is somewhat unusual in that it dynamically kills large processes when it's running out of memory. You used to have to set limits to get that behavior. Because of it, I run a moderately large swap (~8 GB) and can watch large jobs drive swap usage up. Then I decide if I want them dead. --

Re: [GTALUG] optimum swap size

2019-02-27 Thread John Sellens via talk
Note that if you mmap() a file, it has no direct impact on swap usage. (Because the actual file is effectively the backing store.) This might be a helpful read: https://stackoverflow.com/questions/43541420/when-and-how-is-mmaped-memory-swapped-in-and-out Hope that helps! John On Wed, 201

Re: [GTALUG] optimum swap size

2019-02-27 Thread William Porquet via talk
I've done both as a hack yes. W. On Wed, Feb 27, 2019, 11:51 AM Gary via talk, wrote: > So another 2 gigs of swap wouldn't hurt. Can I use a swap file IN ADDITION > TO a swap partition? > /gary > > On 19-02-27 10:12 AM, Jason Shaw via talk wrote: > > On Wed, Feb 27, 2019 at 7:02 AM Gary via tal

Re: [GTALUG] optimum swap size

2019-02-27 Thread Gary via talk
So another 2 gigs of swap wouldn't hurt. Can I use a swap file IN ADDITION TO a swap partition? /gary On 19-02-27 10:12 AM, Jason Shaw via talk wrote: On Wed, Feb 27, 2019 at 7:02 AM Gary via talk > wrote: I have kubuntu 18.04 with 20 gigs ram. Does anyone know what

Re: [GTALUG] optimum swap size

2019-02-27 Thread Gary via talk
Excellent! thank you so much. /gary On 19-02-27 10:22 AM, Mauro Souza via talk wrote: Unless you use suspend to disk, swap is not really needed. I don't believe you would load so many programs it would use all your 20GB of RAM. I have 8GB RAM and 2GB swap, no issues so far. I don't even create

Re: [GTALUG] optimum swap size

2019-02-27 Thread Gary via talk
Thank you. My intent (haven't done it yet) is to use mmap() in c++ for a very large file (2 gigs). I suspect that the virtual memory technology in x86 would simply page in/out file data to/from ram using the least recently used algorithm. Would the swap partition size be material here or am I w

Re: [GTALUG] optimum swap size

2019-02-27 Thread Stewart C. Russell via talk
On 2019-02-27 10:02 a.m., Gary via talk wrote: > I have kubuntu 18.04 with 20 gigs ram. Does anyone know what the optimum > size swap area that I should have? I asked a question about this at a GTALUG Q&A a few years back. Basically what I remember was: * are you frequently running out of memory?

Re: [GTALUG] Spamhaus block

2019-02-27 Thread Marc Lijour via talk
Happy to report that OVH got it fixed for me. They replied to the support ticket within 24 hours. After two interactions we were done. They said it took some time for the reverse DNS to replicate (for the reverse record I did setup days earlier). Whether it was just that delay or they did something

Re: [GTALUG] optimum swap size

2019-02-27 Thread Mauro Souza via talk
Unless you use suspend to disk, swap is not really needed. I don't believe you would load so many programs it would use all your 20GB of RAM. I have 8GB RAM and 2GB swap, no issues so far. I don't even create a swap partition anymore, I create a small swap file ( https://linuxize.com/post/how-to-ad

Re: [GTALUG] optimum swap size

2019-02-27 Thread Jason Shaw via talk
On Wed, Feb 27, 2019 at 7:02 AM Gary via talk wrote: > I have kubuntu 18.04 with 20 gigs ram. Does anyone know what the optimum > size swap area that I should have? Currently, my swap partition is 2 > gigs. Can I increase that by creating a swap file in addition to the > swap partition? > > /gary

[GTALUG] optimum swap size

2019-02-27 Thread Gary via talk
I have kubuntu 18.04 with 20 gigs ram. Does anyone know what the optimum size swap area that I should have? Currently, my swap partition is 2 gigs. Can I increase that by creating a swap file in addition to the swap partition? /gary --- Talk Mailing List talk@gtalug.org https://gtalug.org/ma