[00:04] here may have to be solution https://www.digitalocean.com/community/questions/mysql-server-keeps-stopping-unexpectedly [00:05] this row innodb_buffer_pool_size = 20M [00:08] How 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] any suggestions? [00:20] that couldn't have helped again the same error 'couldn't connect to mysql server' https://kselax.ru/ [00:20] I don't know how to fix it [00:22] it is error what I have had http://pix.toile-libre.org/?img=1517098891.png [00:25] see it http://pix.toile-libre.org/?img=1517099113.png [00:25] why I have so little memory? [00:26] I have on this server many subdomains where I put sites for test, Could be this the reason so low memory? [00:27] I think apache always has equal memory or it depend on number of set up sites/ [00:27] the more sites the less memory? [00:30] it 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:33] Neo4: I'd suggest reviewing what's running and identify what's using the most memory. Then address those processes accordingly [00:33] because some processes use a lot of memory while others don't. [00:33] teward: who to do it? [00:33] MySQL, PHP, and Apache2 are all resource hogs until you tune them [00:33] do you know command? [00:33] teward: do you see in pic there swap is zero? [00:33] it's more than just one 'command'. [00:34] Neo4: swap size isn't in our control [00:34] that's a control of your system provdier/admin [00:34] teward: http://pix.toile-libre.org/?img=1517099113.png [00:34] swap being 0 means nobody set a swapfile or a swap partition [00:34] stop sending me links I already reviewed [00:34] or i'll stop trying to be helpful and just walk away [00:34] ok [00:35] see if there many sites, do you think site can feed memory? [00:35] MY suggestion is install `htop`, and look at that, ordering by memory usage. [00:35] if 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] but that can be difficult the more sites oyu run. [00:36] teward: I've installed there 7 wp sites, can this have taken all merry? [00:37] ok, I badly understand it [00:37] yes, 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] oh I even didn't think about it and am going to create many many sites else :) [00:38] I've must removed 4 sites [00:39] teward: is this app https://hisham.hm/htop/ [00:39] Neo4: sudo apt-get install htop [00:39] I'll try right now [00:39] don't bother googling things [00:39] just install stuff from the repos [00:41] see my computer is lubuntu? http://pix.toile-libre.org/?img=1517100055.png [00:41] and there error [00:42] teward: no all right now [00:42] Neo4: is this a VPS or something hosted by someone else, or your physical system [00:42] it LOOKS like it's a VPS because of the low amount of RAM [00:43] teward: my real vps [00:43] http://kselax.ru [00:43] http://pix.toile-libre.org/?img=1517100153.png [00:44] teward: see I've run http://pix.toile-libre.org/?img=1517100261.png [00:45] your VPS is overtaxed. Swap not existing you need to take up with yoru VPS provider. [00:46] and you should probably NOT be running Lubuntu on it, you should run the pure command line Ubuntu Server instead [00:46] and learn how to SSH [00:46] teward: might be that 1ubuntu1 not lubuntu ) see this http://pix.toile-libre.org/?img=1517100372.png [00:47] apache has eaten all memory [00:47] how to create swap? [00:47] I might be have to create swap myself? [00:47] Neo4: 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:49] Neo4: 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] otherwise it will eat your memory. [00:51] teward: ok, I didn't know it, I thought it must have done automatically [01:01] teward: see not swap has appeared http://pix.toile-libre.org/?img=1517101287.png [01:02] what shell I do next? [01:02] why there so many mysql row? [01:02] Neo4: 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] since it requires a lot of work to properly tune it [01:03] https://www.narga.net/optimizing-apachephpmysql-low-memory-server/ may help with that. [01:03] but it is nontrivial and requires a lot of long-term work. [01:03] teward: ok, understood, thanks, I know php, use it in windows [01:03] there exists variable that change memory [01:04] I'd better removed a few sites [01:04] teward: thanks [01:05] 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) [03:52] LeMike_: You just answered your own question. What you wrote in your "hint" is true. === nchambers is now known as dtscode === dtscode is now known as nchambers [05:48] In 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] It's acting like it's being typed so it's pretty much impossible to log in on the console. [05:52] Correction: it does happen in recovery mode [05:52] But it's ignored at the command line for some reason [05:55] Doesnt happen in the installer shell though [06:25] Installing 16.04 now to see if it does the same thing. [06:31] 16.04 doesnt seem to do the same. === tanuki_ is now known as tanuki === Guest81887 is now known as devilz [19:12] hey. 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/