[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


Well /g/?
Every IIIT grad can answer this btw.
>>
My watch
>>
>>108826670
Have I recently downloaded Cemu or any python libraries with PIP?
>>
>no cron jobs
Because it's a systemd service or something scheduled by the application.
>>
>>108826670
Logs. Next
>>
>>108826670
I ask Claude because I’m not a ludder
>>
>>108826670
i open htop, sort by cpu usage, and stare at it until 3:17am
>>
>>108826780
This and also request over time.
>>
>>108826670
nothing and decommissioning the machine because I was just told it's not in use
>>
>>108826747
Based vibegod
>>
>>108826699
kek this
>>
I don't check shit, unused CPU is wasted CPU.
>>
>>108826670
I turn off my computer when I go to bed because my best friend deserves to sleep too.
>>
>>108826699
>2026
>logs
lmaoooo
>>
>>108826670
>Jahir Sheikh
Im cheking my local ICE department
>>
>>108826670
Network connections.
>>
>>108826670
my app or the node spikes?
>>
Not my problem, boss
>>
>>108826670
flame graph?
>>
>>108826670
I reboot the pc
>>
I would first check out the importance of that number 317.
>>
>>108826670
>checking logs is a "senior" skill to an Indian
>>
>@claude investigate this issue
next
>>
>>108826670
i'm interviewing for backend, not sysadmin. so not my problem.
>>
>>108826670
Use elastic observibility or whatever they got, highlight the timeframe and go from there.
>>
>check logs
>our retarded logging is too noisy and useless to determine any meaning out of it, despite attempts to have it cleaned up to be useful
>nothing is stated broken
>close as wontfix
>>
>>108826670
Systemd timers
>>
>>108828056
Anyone who says logs would end up here. If your app is important enough you know CPU usage jumps at a specific time, you probably have a good APM and opentelemetry anyway.
>>
>ls
>lscpu
>top
>pretends I know what I'm reading
>q
>>
>>108827273
This
OP is a poorfag and can't afford a bigger CPU
>>
>>108826670
logs/graphs to see if anything else occurs at 3:17am it should easily be visible in whatever monitoring software there is
if you use datadog or something there is literally something built in that will check across everything in your entire company for what else has a similar spike at that time whether it's a certain type of request or error or w/e
>>
>>108826670
nothing. I'm asleep at that time and I don't care about the company's power bill.
>>
>>108826670
Trick question, we use next.js, CPU is always at 100% sir
>>
Install a claw code bitcoin mining agent team running Opus 4.7 to balance out CPU usage. The boss is gonna freak if he finds out we only go 100% on our machines at 3:17AM.
I report the improved CPU and token utilization metrics during my performance review and negotiate a 300% raise.
>>
>>108826670
@grok
>>
ask your admin to check whatever your monitoring tool says (zabbix or whatever). This is more of an IT question rather than backend coder.
>inb4 no toolset installed
that's your first issue, probably the bigger problem here than small cpu spike
>>
>>108826670

Task Manager within the server where the CPU is wonky?
>>
>>108826670
I'm checking myself out, who cares if a computer does work at 3 am? It's probably fine.
>>
The security camera tapes to ensure the rent-a-cop isn't doing something stupid at that time. You'd be surprised how often this type of thing has a physical cause due to something fucking around with something.
>>
>>108826670
>checking
lastlogs, new hires
>>
File: 1777144177548838.jpg (26 KB, 640x633)
26 KB JPG
>>108826670
Make a tweet then screencap that tweet for a 4chan thread that looks like a joke, hoping someone will be tricked into helping me
>>
>>108826670
grep for '*3:17*' in /var/logs/* or check journalctl
Also this Indian didn't explain the context, but I'll assume a server running Linux
>>
>>108826670
>backend
I check if any app has a daily garbage collection task, because obviously whatever retarded troglodyte sysadmin is talking to me about this already determined that my apps were causing the increased CPU usage.
>>
>>108826670
clearly I'm checking my twitter thread I just asked the question on because I'm trying to farm answers on a topic I don't know the solution for and stealing the correct one and presenting it as a fix
>>
>>108826670
>what are you checking
any open tickets about it? nope?
if its not broke dont fix it
genuinely my company quality system needs trace all fixes to initial complaint. no complaint you cant fix it.
>>
>>108826670
>No x.
>No y.
>No z.
ai slop detected, thread disregarded
>sage: announced
>>
File: 1776652232671995m.jpg (115 KB, 901x1024)
115 KB JPG
>>108826670
Infosec is probably triggering a heavy ass scan with one of the half dozen little security toys they required us to install.
>>
>>108826670
>Asks ChatGPT
>The first command it tells me to use is "sar"
>>
>>108826699
it's called journal now grandpa, you're out
>>
>>108826670
I'm not applying for a senior position
>>
htop
>>
laraslop script injection
>>
>>108828989
there's atop that will log for you something ala htop results over time, htop/top is not it unless you plan to watch it at 3:17
>>
>>108826699
>>108828916
Yeah you can't say logs black people used to sit on logs you racist pig.
>>
>>108829030
what about journal of uncle tom
>>
>>108826670
>run some logger
>check the logs
>>
>>108826670
Based on the IT dept at my company, the answer is:
>reboot the machine
>hard reboot
>critical server? doesn’t matter, reboot
>claim it was an ‘unplanned outage’
>claim problem is fixed (problem is not fixed)
>>
>>108828877
this
>>
>>108828908
>saar
That you already know the timing of the CPU spike implies sar or equivalent has already been used.
>>
>>108828877
yup, we need to re-ddos your server with 60k(rising every day) exploit checks to make sure you haven't downgraded to vulnerable log4j susceptible version fuck your cpu
>>
>>108828083
system logs aren't the only thing you check dickweed, it's just the first thing
>>
The database
>>
>>108826670
>What are you checking first?
Nothing. Who gives a shit about a bit of CPU usafe at 3:17AM?
>>
>>108826670
I don't need to check out anything. Either Surajesh Patel or Juan pedro Carlos runs a bitcoin miner on our system, just fire both to be safe.
>>
>>108829019
I would be up at 3:17, I don't go to bed till like 6am these days
>>
>>108829130
>saars as a resource
>>
>>108826670
www.worldtimebuddy.com, check the time in india, china, russia and israel, if any of those are close to dawn rangeblock them for 24h.
>>
>>108826670
Journalctl
>>
File: 1754146861576.jpg (39 KB, 800x340)
39 KB JPG
>>108826670
>3:17 AM
God wouldn't be up this late.
>>
>>108826670
thank god I no longer work in IT. they treat you like a janny.
>>
Let me guess, it's an epic meme interview question where the "real" answer is "nothing, our systems are running at 100% CPU 24/7 because he have that grindset hustle culture 100x mindset"
>>
>>108826670
It's 100% some windows cuck update that is forcefully raping your pc despite you telling them no
>>
>>108826688
kek
>>
>>108829557
95% of a workday as IT is sitting on your ass doing nothing, and telling people to try to reboot their device when you fucked up the infra and everything is down for everyone. So yes, you do deserve to be treated like the jannies you are.
>>
File: 142.gif (688 KB, 245x200)
688 KB GIF
>>108826670
>log on to server
>open terminal
>codex --yolo
>type "explain to me in 1 sentence why every night at 3.17 AM CPU usage spikes to 100%. no guesswork, get me the exact reason"
>>
>>108829563
>Upgrade server CPU from 100% to 100%+AI

>>108829578
But there is no "traffic spike", which could be inbound or outbound, so presumably you aren't downloading anything.
>>
>>108829745
Best part is rebooting the device magically solves 95% of those issues that are actually local and not "down for everyone", jumping headfirst into serious investigation logs and traces and whatnot without a reboot is a typical midwit IT janny mistake.
>>
>>108826670
My coffee pot xD can't start a debugging sesh without my fix!!
>>
>>108830238
Case in point.
>hurr durr y dey call jannies jannies durr
Cry about it
>>
>>108826670
dashboard and netstat
>>
>>108826670
I set up a scheduled task to log CPU usage data for 5 minutes, it starts running at 3:15 AM and stops at 3:20 AM. I make sure to announce this fact to all the employees. If the CPU usage stops going up after the announcement then I know it's just because some faggot is mining coins on the company servers.
>>
>>108826747
The only answer. But do it with any AI in general as well. Ask it to write a script that analyzes all processes that are running and log them. Have it filter out process and show only those that are >20% CPU usage. And then play a sound, when CPU hits the target threshold and log them properly. And have AI analyze what it is doing, what files its accessing, where the process location is, who the developers were and for what purpose, when it was installed, etc
>>
>>108826747
Grok, is this true ?
>>
>>108826670
First identify which process consumes CPU, then trace what scheduler or subsystem invoked it.
t. I'm a backend senior
t. that was a lie, I asked GPT
>>
>>108827273
used CPU is increased power usage which costs money
>>
>>108826670
My Bitcoin wallet
>>
>>108826670

the real answer is to check whether anyone cares with the management
no need to waste time on a problem that affects literally noone

t. senior dev
>>
>>108826670
These two-word sentences are a huge redflag, I noticed only indians (and sometimes claude) type like this.
>checks username
Called it again.
>>
>what are you checking first
sad panda for the latest incest drop
>>
>>108826780
important detail;
you begin doing this at 4 pm and report it as a security issue so you get paid for an entire day of shitposting and go to sleep at 3:16 AM because it's fucking windows messing with an update
>>
>>108826670
I’ll check if my Red Bull is in the refrigerator and drink it while L2 finds the culprit
>>
>>108836446
>senior back end
>drinking red bull
well that's a bullet proof health for a back end senior
>>
>>108826670
Is it an application server? A DB server? Since it's for backend dev, I assume application server. I will also assume "no cron jobs" means no scheduled application jobs, e.g. Spring @Scheduled tasks. First step is application logs. If nothing suspicious turns up, I check firewall/ingress/load balancer logs depending on what the network architecture is, looking for suspicious requests, maybe ICMP attacks which wouldn't appear at the application level. Failing that, check OS level stuff. If it's a Windows server, check event viewer, check if it was doing some retarded update. If Linux server, check dmesg/syslog/journalctl. If nothing turns up, ignore it because a momentary spike at such an hour is unlikely to cause service disruption.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.