Reputation
400
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 2 10
Impact
~26k people reached

  • 0 posts edited
  • 0 helpful flags
  • 10 votes cast
Aug
26
comment Systemd - run script/unit after system crash
Thanks for your suggestion. I will probably do some sort of workaround like that. The only issue I am having is that the system is out-of-the-box Fedora, all I did was second unit file that inherits (hope it's the right systemd term) postgres unit and changes datadir so I am not sure how much "unofficial: solution I want to use... I will probably open bug in Fedora bugzilla and see what happens.
Aug
17
comment Systemd - run script/unit after system crash
That is actually not a bad idea. However the PID files are located in postgresql datadir and that seems to be a default location (not sure whether its Fedora default or Postgresql default) - there is no PID file related option in ps -ax and the program having trouble with them is pg_ctl itself...
Aug
17
asked Systemd - run script/unit after system crash
Jul
1
awarded  Famous Question
Feb
26
awarded  Nice Question
Jun
24
awarded  Notable Question
Mar
24
accepted Linux MD Raid same device detection
Mar
24
comment Linux MD Raid same device detection
You are right. That verification is what brought the issue to my attention. I did already set the value to 1 and if no one will come with more systematic solution I will mark you answer as answer.
Mar
24
comment Linux MD Raid same device detection
I edited the question with system version. But I think that it is not so important as the detection is in the kernel driver (and for quite some time). The raidcheck script "only asks" the kernel to verify the raids. But you are right that that would be the way how to fix it. Unfortunatelly it will not work for recovery...
Mar
24
revised Linux MD Raid same device detection
added 51 characters in body
Mar
24
asked Linux MD Raid same device detection
Mar
18
awarded  Popular Question
Nov
7
comment How to find what is using linux swap or what is in the swap?
Smem from F17 repo did not work (showed an empty list) but the one from the source worked and is showing almost same numbers as the others :-) mysql 358.1M out of 392.6M total, while top shows 1191224k used
Nov
5
comment How to find what is using linux swap or what is in the swap?
When I tried the script on other server with very low swap usage (50MB) it reported cca 72MB in total :-) I will need to simulate it on some nonproduction server later...
Nov
5
comment How to find what is using linux swap or what is in the swap?
The mentioned script is returning same results ... 364920 /usr/libexec/mysqld 400372 Total
Nov
5
comment How to find what is using linux swap or what is in the swap?
Thats true and thats probably what I am gonna do if I do not find the cause of this issue... On the other hand there is a lot of small DBs on the server that are used very sporadically and I liked the idea of them being swapped out by system when they are not in use... However I suppose that MySQL will be able to handle it on its own...
Nov
5
awarded  Commentator
Nov
5
comment How to find what is using linux swap or what is in the swap?
But that would not solvethe issue. I am assuming that the swap would start increasing again if I set swappines back to 60 or would not be used at all if I keep it at 0 or 1 (unless the server goes out of memory)
Nov
5
asked How to find what is using linux swap or what is in the swap?
Jun
28
awarded  Yearling