GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    matthew - retroedge.tech (matthew@social.retroedge.tech)'s status on Saturday, 14-Oct-2023 06:55:42 JST matthew - retroedge.tech matthew - retroedge.tech
    I have a #linux #sysadmin question

    On a web server with limited CPU resources, optipng and mysqld processes sometimes take up all the CPU for a few minutes. While that is happening, the apache web server is unavailable. It comes back fine and responds after those processes are done, but while they are running you get nothing while trying to load the website in a web browser.

    What would you do to solve this issue so that the apache web server is still responsive while these processes run? The cpulimit utility or some other technique?
    In conversation Saturday, 14-Oct-2023 06:55:42 JST from social.retroedge.tech permalink
    • Embed this notice
      ✙ dcc :pedomustdie: :phear_slackware: (dcc@annihilation.social)'s status on Saturday, 14-Oct-2023 06:55:42 JST ✙ dcc :pedomustdie: :phear_slackware: ✙ dcc :pedomustdie: :phear_slackware:
      in reply to
      @matthew Sound's like something is overloading your cpu, what process is it?
      In conversation Saturday, 14-Oct-2023 06:55:42 JST permalink
    • Embed this notice
      ✙ dcc :pedomustdie: :phear_slackware: (dcc@annihilation.social)'s status on Saturday, 14-Oct-2023 06:59:40 JST ✙ dcc :pedomustdie: :phear_slackware: ✙ dcc :pedomustdie: :phear_slackware:
      in reply to
      @matthew My sql is what's doing that then
      In conversation Saturday, 14-Oct-2023 06:59:40 JST permalink
    • Embed this notice
      matthew - retroedge.tech (matthew@social.retroedge.tech)'s status on Saturday, 14-Oct-2023 06:59:41 JST matthew - retroedge.tech matthew - retroedge.tech
      in reply to
      • ✙ dcc :pedomustdie: :phear_slackware:
      optipng and mysqld - have temporarily disabled optipng from running, but want to use it again eventually.
      In conversation Saturday, 14-Oct-2023 06:59:41 JST permalink
    • Embed this notice
      ✙ dcc :pedomustdie: :phear_slackware: (dcc@annihilation.social)'s status on Saturday, 14-Oct-2023 07:01:09 JST ✙ dcc :pedomustdie: :phear_slackware: ✙ dcc :pedomustdie: :phear_slackware:
      in reply to
      • Robert @ Tech Addressed
      @techaddressed @matthew Why would it?
      In conversation Saturday, 14-Oct-2023 07:01:09 JST permalink
    • Embed this notice
      Robert @ Tech Addressed (techaddressed@fosstodon.org)'s status on Saturday, 14-Oct-2023 07:01:10 JST Robert @ Tech Addressed Robert @ Tech Addressed
      in reply to

      @matthew my thought was that perhaps Nginx would have a better chance of responding when the other processes are being hogs. I have no experience w/ optipng so I don't have any advice there.

      In conversation Saturday, 14-Oct-2023 07:01:10 JST permalink
    • Embed this notice
      matthew - retroedge.tech (matthew@social.retroedge.tech)'s status on Saturday, 14-Oct-2023 07:01:11 JST matthew - retroedge.tech matthew - retroedge.tech
      in reply to
      • Robert @ Tech Addressed
      I like and use #nginx for other things. This one should stay on apache for now. I'd like to understand and figure out a solution to the specific issue of optipng and mysqld taking up so much CPU that they knock the website offline while they run.
      In conversation Saturday, 14-Oct-2023 07:01:11 JST permalink
    • Embed this notice
      Robert @ Tech Addressed (techaddressed@fosstodon.org)'s status on Saturday, 14-Oct-2023 07:01:12 JST Robert @ Tech Addressed Robert @ Tech Addressed
      in reply to

      @matthew probably not the answer you're looking for but let me ask a question or two. Is Apache a necessity? Have you considered Nginx? If you want to discuss the situation via PM I'm willing to do what I can to help.

      In conversation Saturday, 14-Oct-2023 07:01:12 JST permalink
    • Embed this notice
      matthew - retroedge.tech (matthew@social.retroedge.tech)'s status on Saturday, 14-Oct-2023 07:01:13 JST matthew - retroedge.tech matthew - retroedge.tech
      in reply to
      Is there a way to have the website related processes, such as apache and php always have priority over others? Or is limiting the offending CPU hogs the better approach?

      #linux #sysadmin
      In conversation Saturday, 14-Oct-2023 07:01:13 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.