Post APl7sEjOpptVMGF2vY by evanphx@ruby.social
(DIR) More posts by evanphx@ruby.social
(DIR) Post #APjafbCWUTmldXGome by evanphx@ruby.social
2022-11-18T16:54:32Z
7 likes, 32 repeats
To all mastodon admins:Hi! I’m Evan Phoenix, the primary author of puma, the ruby webserver that powers mastodon!Please reply or DM me if you need tuning help! I’ve got no officiation with the mastodon, just want to see you succeed!(Quick Tip: set WEB_CONCURRENCY to core count * 1.5 and then tune MAX_THREADS. High thread values will see diminishing returns!)
(DIR) Post #APjftIfUgublz2ApiS by getajobmike@ruby.social
2022-11-18T17:21:56Z
0 likes, 0 repeats
@evanphx Careful with that 1.5 value. Sidekiq needs to run too.
(DIR) Post #APjftJ3bFHtHBnS5I0 by evanphx@ruby.social
2022-11-18T17:29:31Z
0 likes, 1 repeats
@getajobmike For sure! Setting WEB_CONCURRENCY to cores * 1.5 can result in puma soaking up 100% of the cpu. So if you're running sidekiq on the same cores, use 1 * cores or even 0.8 * cores is prudent.
(DIR) Post #APjnQ5yzZlRNsKsYcq by ruud@mastodon.world
2022-11-18T19:21:02Z
0 likes, 0 repeats
@evanphx Hi, I'll certainly look into that.. our instance grew from 140 users 15 days ago, to 65000 users today. Needs some tweaking here and there...
(DIR) Post #APjwFZ3u1EhmStEGFU by nealr@mastodon.social
2022-11-18T20:59:55Z
0 likes, 0 repeats
@ruud @evanphx 65000/140 = 464,000% growth rate. And it's only going to go faster. Wow.
(DIR) Post #APkTa6RMvQ6oGWbeXA by atomicwrites@mastodon.sdf.org
2022-11-19T03:13:24Z
0 likes, 0 repeats
@ruud @evanphx Oof, my condolences. Awesome that your getting so Mich traffic, but it must be like a hug of death that never stops.
(DIR) Post #APl7sEjOpptVMGF2vY by evanphx@ruby.social
2022-11-18T22:55:12Z
0 likes, 0 repeats
@nealr @ruud now that's some growth! How's it holding up? How much hardware are you using (cpu cores, memory)?
(DIR) Post #APl7sF8vIwJKdQBQi8 by ruud@mastodon.world
2022-11-19T10:44:56Z
0 likes, 0 repeats
@evanphx @nealr 32 cores/64 threads and 256GB memory. That's OK for now.
(DIR) Post #APnO8Lbz0bnwugOetk by lina@eientei.org
2022-11-20T12:56:33.605930Z
3 likes, 0 repeats
@evanphx you can take your mask off now
(DIR) Post #APnONJvDZcam14X7ia by NEETzsche@iddqd.social
2022-11-20T12:59:14.223308Z
3 likes, 0 repeats
Not if you want to end structural racism, sweaty.
(DIR) Post #APnOSUSxnViwAOmakC by lina@eientei.org
2022-11-20T13:00:13.075624Z
0 likes, 0 repeats
@NEETzsche @evanphx why would we end it? an interesting question
(DIR) Post #APnPrNSB6ixNbwqWvI by WhiteTemplar@pleroma.nobodyhasthe.biz
2022-11-20T13:15:54.321520Z
1 likes, 0 repeats
@NEETzsche @lina @evanphx Oh no, more students caught Flu 2.0 and it did no permanent damage. Literally another Holocaust!
(DIR) Post #APnQ3p4SFigmjvgU7s by NEETzsche@iddqd.social
2022-11-20T13:18:08.705588Z
4 likes, 1 repeats
Pic related are the “people” writing these “studies” btw
(DIR) Post #APnQ9B75j64CYFTHKS by WhiteTemplar@pleroma.nobodyhasthe.biz
2022-11-20T13:19:07.000831Z
2 likes, 0 repeats
@NEETzsche @lina @evanphx Wow, they are so emotionally mature and also very brave women.
(DIR) Post #APnRqJLJ6cJsTqFfPc by Xenophon@nicecrew.digital
2022-11-20T13:27:28.888628Z
2 likes, 0 repeats
POV: You just came inside my wife
(DIR) Post #APnUZerEA1Au9AvuIC by maxmustermann@shitposter.club
2022-11-20T14:08:38.329527Z
0 likes, 0 repeats
@Xenophon @lina @NEETzsche @WhiteTemplar @evanphx Jesus Christ dude. Get a another profile pic. That selfie makes you look like a shizo who is going to rant about Blue Anon.
(DIR) Post #APnWuq9Ba4mD9PYqR6 by berkberkman@bae.st
2022-11-20T14:34:56.493313Z
0 likes, 0 repeats
@evanphx @NEETzsche @lina @WhiteTemplar @evanphx >emotional support bearThis is just a Meiki adult plush doll but gone mainstream (and for women).$_1.jpeg
(DIR) Post #APsW4uSLFdYCAeO6QS by nealr@mastodon.social
2022-11-23T00:19:06Z
0 likes, 0 repeats
@ruud @evanphx So a box of your own, not a VPS. I have some older systems, roughly half those stats, and given Twitter's imminent demise they'll be free for new stuff, but I wouldn't dare turn up a Mastodon of my own. I'm pondering what sort of hate group tracking this brave new world will need.
(DIR) Post #APybtORTheniMxdRM8 by jolvera@mas.pub
2022-11-18T17:00:46Z
0 likes, 0 repeats
@evanphx i don't remember from the top of my head the tuning recommended in the mastodon doc, but that's what I followed, is what's there still valid and good advice?
(DIR) Post #APybtOynhlSK2JE3IO by evanphx@ruby.social
2022-11-18T17:04:21Z
0 likes, 0 repeats
@jolvera I’ll have to check!
(DIR) Post #APybtPQo1drDRAKPwm by evanphx@ruby.social
2022-11-18T17:13:13Z
0 likes, 0 repeats
@jolvera So the official tips don't give concrete suggestions about how to tune puma. So it's still correct, just not specific enough!
(DIR) Post #APybtPsoLWG6q1QmbA by jolvera@mas.pub
2022-11-18T17:14:22Z
0 likes, 0 repeats
@evanphx is it worth doing a pull request to their doc to add the tunning you'd suggest?
(DIR) Post #APybtQHypwOM65CspU by evanphx@ruby.social
2022-11-18T17:17:17Z
0 likes, 0 repeats
@jolvera Yeah, probably! I want to figure out a way to gather some usage data from installations to provide even better info as well.Also considering releasing a special puma-mastodon gem that will tweak these settings automatically.
(DIR) Post #APybtQiZF5evQXe7Gq by benjamin@piaille.fr
2022-11-18T21:11:03Z
1 likes, 0 repeats
@evanphx @jolvera Hi Evan, THANK YOU for Puma :mastolove: (here an admin of piaille.fr, a ~6000 users instance at the moment) be careful that most instances have all services in one machine (postgresql, node, redis, elasticsearch, AND puma (AND sidekiq ;) ) so your automatic computation may not be right.1.5* core count on a dedicated puma-only machine, sure ;)