Latest Server related questions

Score: 0
How to permanently change niceness of apache2 process on a Debian server?
us flag

I have Debian 11.2 with Apache2. I'd like to change niceness of all of my apache2 processes, or at least mod_wsgi processes, to +5. How can I do it?

Adding Nice=5 to /usr/lib/systemd/system/apache2.service didn't change anything, probably because that only calls apachectl. renice seems to work, but only as a temporary measure.

Score: 2
RAID 5 with Windows Server 2016 R2 - 45 drives - 10 hot spare
de flag

I have a 45 drives server that will be running Windows Server 2016 R2. It will be fully populated and utilizing RAID 5 and I want 10 of the drives to act as hot spares. We have been searching all over and cannot find a way to do this. Is this even possible?

Score: -2
Does Network Card slow down when there are a lot requests
ca flag

App1 makes 100k+ requests/minute. App2 on same PC/different CPU core, occasionally doing some requests.

The bandwidth is 10Gb/s both NIC and network and is not a problem here.

Would App2 experience a slow down because network card or OS is overloaded with App1's requests?

Score: 1
Setup postfix exclusively for local delivery
sz flag

For development purposes I wanted an smtp server, that simply places all mails into a local mailbox. To achieve this, I tried to setup a minimal postfix system.

# master.cf
smtp      inet       n  - n -     - smtpd
cleanup   unix       n  - n -     0 cleanup
qmgr      unix       n  - n 300   1 qmgr
rewrite   unix       -  - n -     - trivial-rewrite
bounce    unix       -  - n -     0 bounce
defer  ...
Score: 0
Allow Bitbucket pipeline runner to access ports other than 80 and 443 such as NFS
ao flag

I am trying to persuade a bitbucket pipeline that employs a runner on our GKE based infrastructure to mount a directory from a GCE VM via NFS.

It seems that the outgoing traffic to NFS ports is blocked.

The pipeline has no problem accessing port 443 on an external web server.

No incoming traffic is visible to tcpdump on the NFS server.

Firewall logs show nothing being blocked.

The underlying runner contai ...

Score: 0
William Becker avatar
AWS Patch Manager and ECS Cluster Spot Instances
cn flag

I have a ECS Cluster with a capacity provider providing me with spot instances to run docker tasks. I have Patch Manager set up and can run patches manually / on a schedule.

However, I would like for Patch Manager to automatically run on new instances as they are provisioned, and reboot the machine before jobs start on it. Is this possible?

Score: 0
Makar Pogorelov avatar
I can't mount windows folder in centos through mount -t cifs
ph flag

everyone!

I have windows folder. This folder is available from my windows 10 OS. At the server with Centos 8 I did:

sudo mkdir /mnt/sbsp
sudo mount -t cifs //bk.local/BurgerKing/NetDisks/K/Бухгалтерия/Сбер_Спасибо_Отчет /mnt/sbsp -o user=user1,iocharset=utf8,"pass=12345",uid=bk_root,gid=bk_root

I recieved output:

mount error(2): No such file or directory

In dmesg:

[14573 ...
Score: 0
user3621726 avatar
NGINX: Please explain proxy_ssl_verify_depth in detail
us flag

Can someone please explain how exactly proxy_ssl_verify_depth property works in the ngx_http_proxy_module?

The definition is rather short - Sets the verification depth in the proxied HTTPS server certificates chain.

Score: 0
Ben avatar
Add to mysql db instead of restore
ru flag
Ben

*EDIT/UPDATE I have an RPI4 with mysql. I need to collect all the data from the "zm" database, and ADD it to another database of the same name on another server, so NO data on the 2nd server is removed/overwritten.

This will occur once per day, when the rpi is on the same wifi network


ORIGINAL I have an automatic backup of a database (server1), which is then sent to another server(sever2). My requir ...

Score: -2
How do I autostart a program with a "X" second delay after internet connection is established at login (LINUX)
ru flag

I want to use systemd to configure this, do I have to create a custom target and then custom services on it to make this happen? How do I do that?

Score: 0
How to set up a server to allow the root user to track down historical outgoing requests?
in flag

I woke up this morning and found an unexpected outgoing spike in traffic from my virtual server. Spike in outgoing traffic between 3 and 4 am

What commands/settings should I have been using to allow myself to track down the who/what initiated these requests, what was being sent and where it was being sent to?

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.6 LTS
Release:        18.04

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.