/srv/irclogs.ubuntu.com/2018/01/28/#ubuntu-server.txt

Neo4here may have to be solution https://www.digitalocean.com/community/questions/mysql-server-keeps-stopping-unexpectedly00:04
Neo4this row innodb_buffer_pool_size = 20M00:05
Neo4How I could be have to find this row in my file /etc/mysq/my.cnf didn't exided that row, I've putted it myself in the bottom. Couldn't be it right? where I could find my real that variable?00:08
Neo4any  suggestions?00:08
Neo4that couldn't have helped again the same error 'couldn't connect to mysql server' https://kselax.ru/00:20
Neo4I don't know how to fix it00:20
Neo4it is error what I have had http://pix.toile-libre.org/?img=1517098891.png00:22
Neo4see it http://pix.toile-libre.org/?img=1517099113.png00:25
Neo4why I have so little memory?00:25
Neo4I have on this server many subdomains where I put sites for test, Could be this the reason so low memory?00:26
Neo4I think apache always has equal memory or it depend on number of set up sites/00:27
Neo4the more sites the less memory?00:27
Neo4it is crystal clear my problem is memory? What shall I do, I have got there a few sites. Does it mean I might have to remove a few sites?00:30
tewardNeo4: I'd suggest reviewing what's running and identify what's using the most memory.  Then address those processes accordingly00:33
tewardbecause some processes use a lot of memory while others don't.00:33
Neo4teward: who to do it?00:33
tewardMySQL, PHP, and Apache2 are all resource hogs until you tune them00:33
Neo4do you know command?00:33
Neo4teward: do you see in pic there swap is zero?00:33
tewardit's more than just one 'command'.00:33
tewardNeo4: swap size isn't in our control00:34
tewardthat's a control of your system provdier/admin00:34
Neo4teward: http://pix.toile-libre.org/?img=1517099113.png00:34
tewardswap being 0 means nobody set a swapfile or a swap partition00:34
tewardstop sending me links I already reviewed00:34
tewardor i'll stop trying to be helpful and just walk away00:34
Neo4ok00:34
Neo4see if there many sites, do you think site can feed memory?00:35
tewardMY suggestion is install `htop`, and look at that, ordering by memory usage.00:35
tewardif the primary users are MySQL, APache2 and/or PHP, then you should start fine-tuning the configurations of those services to *not* use as much in terms of resources.00:35
tewardbut that can be difficult the more sites oyu run.00:35
Neo4teward: I've installed there 7 wp sites, can this have taken all merry?00:36
Neo4ok, I badly understand it00:37
tewardyes, it could have.  Assuming there's no caching in play, it could take up memory.  Also assuming that your sites haven't been hijacked; if they ahve been and have malicious stuff running they could be consuming more memory.00:37
Neo4oh I even didn't think about it and am going to create many many sites else :)00:37
Neo4I've must removed 4 sites00:38
Neo4teward: is this app https://hisham.hm/htop/00:39
tewardNeo4: sudo apt-get install htop00:39
Neo4I'll try right now00:39
tewarddon't bother googling things00:39
tewardjust install stuff from the repos00:39
Neo4see my computer is lubuntu? http://pix.toile-libre.org/?img=1517100055.png00:41
Neo4and there error00:41
Neo4teward: no all right now00:42
tewardNeo4: is this a VPS or something hosted by someone else, or your physical system00:42
tewardit LOOKS like it's a VPS because of the low amount of RAM00:42
Neo4teward: my real vps00:43
Neo4http://kselax.ru00:43
Neo4http://pix.toile-libre.org/?img=1517100153.png00:43
Neo4teward: see I've run http://pix.toile-libre.org/?img=1517100261.png00:44
tewardyour VPS is overtaxed.  Swap not existing you need to take up with yoru VPS provider.00:45
tewardand you should probably NOT be running Lubuntu on it, you should run the pure command line Ubuntu Server instead00:46
tewardand learn how to SSH00:46
Neo4teward: might be that 1ubuntu1 not lubuntu ) see this http://pix.toile-libre.org/?img=1517100372.png00:46
Neo4apache has eaten all memory00:47
Neo4how to create swap?00:47
Neo4I might be have to create swap myself?00:47
tewardNeo4: https://support.rackspace.com/how-to/create-a-linux-swap-file/ may be relevant, but not all VPSes let you enable swap, even with swap files.00:47
tewardNeo4: if you're running lots of sites though you *need* to have a bigger server, and not consume all the memory.  Or retune the system to properly use less memory, and if you're using Apache you have to really tune PHP, not Apache, for the lower-RAM server.00:49
tewardotherwise it will eat your memory.00:49
Neo4teward: ok, I didn't know it, I thought it must have done automatically00:51
Neo4teward: see not swap has appeared http://pix.toile-libre.org/?img=1517101287.png01:01
Neo4what shell I do next?01:02
Neo4why there so many mysql row?01:02
tewardNeo4: that's the number of 'threads' that mysql has.  But I can't help you out much from here, as I said before, you have to tune MySQL and PHP, and that's tricky to do from here.01:02
tewardsince it requires a lot of work to properly tune it01:02
tewardhttps://www.narga.net/optimizing-apachephpmysql-low-memory-server/ may help with that.01:03
tewardbut it is nontrivial and requires a lot of long-term work.01:03
Neo4teward: ok, understood, thanks, I know php, use it in windows01:03
Neo4there exists variable that change memory01:03
Neo4I'd better removed a few sites01:04
Neo4teward: thanks01:04
LeMike_Hello. When I do "ps aux | grep ssh-agent | wc -l" I get 230 running agents. This does not seem right. Why so many and can I just kill them? (hint: there is continous integration running on the server and each may have opened one)01:05
rypervencheLeMike_: You just answered your own question. What you wrote in your "hint" is true.03:52
=== nchambers is now known as dtscode
=== dtscode is now known as nchambers
tanukiIn 17.10, after installing I get a "^@" on the console every second or so. It doesn't happen in the installer or in recovery mode.05:48
tanukiIt's acting like it's being typed so it's pretty much impossible to log in on the console.05:48
tanukiCorrection: it does happen in recovery mode05:52
tanukiBut it's ignored at the command line for some reason05:52
tanukiDoesnt happen in the installer shell though05:55
tanukiInstalling 16.04 now to see if it does the same thing.06:25
tanuki16.04 doesnt seem to do the same.06:31
=== tanuki_ is now known as tanuki
=== Guest81887 is now known as devilz
sabanhey. i modified lines in rsyslog.conf to add some custom logs. what do i need to add that this logs will be relayed to my remote rsyslog server? https://pastebin.ubuntu.com/26479158/19:12

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!