question_id
int64
1
1.16M
title
stringlengths
10
191
question_body
stringlengths
6
2k
answer_body
stringlengths
0
2.5k
tags
stringclasses
73 values
question_score
int64
-15
1.65k
answer_score
int64
0
2.91k
view_count
int64
4
1.24M
creation_date
stringdate
2008-08-01 18:45:00
2025-06-19 04:44:02
category
stringclasses
12 values
source_site
stringclasses
8 values
1,139,283
Systemd stops user manager and kills all user processes
I have many podman containers running under a user. The processes running in them are resource intensive at times (CPU and memory). Until recently we didn't have any problems. But after an unavoidable software update to the one of the programs running inside the containers, the containers keep dying daily all at the sa...
From your logs, I would say you have the cause and effect reversed: the user sessions stop first; then, after a 10-second timer, systemd-logind stops the user manager as "unneeded" (which is standard behavior unless "linger" mode has been enabled for that user). Start by doing [CODE] to disable the automatic GC of the ...
2
6
2,244
2023-07-26T12:14:18.787
pipeline_ops
serverfault.com
983,772
TLS from unknown: No client certificate presented
We have setup a windows server virtual SMTP (under IIS6 manager). In the SMTP settings, TLS encryption is enabled, fqdn field is "sharepoint.mycompany.com". In the server's cert store "personal" folder we have the certificate "sharepoint.mycompany.com". The real fqdn of server is "server01.testdomain.com". By some reas...
You should try with openssl to start TLS like: [CODE] the flow is SMTP on 25 then STARTLS on 587, its done automatically by the server and the openssl command is following the flow. Your server have to present the right certificate
0
2
992
2019-09-11T07:14:45.530
data_quality
serverfault.com
122,961
Why am I getting this TypeError: quantile() got an unexpected keyword argument 'numeric_only' for pandas quantile()?
I ran into a weird error with pandas quantile() ( [CODE] ) method. I have a dataframe with both numeric and non-numeric columns. I wanted to calculate the 75th quantile for each numeric column. So instead of providing only the numeric columns, I saw in the documentation that [CODE] takes a keyword argument [CODE] which...
By using [CODE] your are calling the quantile method of a column, i.e. a series. This does not have this parameter ( see here ). Since the series has just one type, it is not required.
1
2
783
2023-07-26T19:36:22.757
data_quality
datascience.stackexchange.com
374,420
wireshark windows - how to remote capture/analyze from a tshark or similar install?
I would like to set up some small, low-end hardware wireshark capture points on my network. I am hoping I can use something like command-line linux (ubuntu mini for example) to keep it light-weight. I see that there is "tshark" which is a command line version of wireshark. I have also found articles on using wireshark ...
Just use your low-end box with [CODE] , [CODE] or [CODE] (the console version) and save the output to a file. Then download that file to your powerful desktop and load it up to wireshark GUI version.
0
1
1,579
2012-03-28T14:20:06.830
infrastructure
serverfault.com
37,805
Functional testing during or after development?
I'm a newly hired junior QA engineer in a company who never had QA before. I'm writing cucumber + selenium test for multiple projects and one of them is still in active development and is evolving really fast (a team of 5 developers is working on it full time). While everything was fine at first, I now find myself on t...
What you are describing is very common. There are things developers can do to partially insulate your tests from UI changes. For example, giving every element a unique ID can help. Of course, nothing will completely insulate your tests from UI changes. I recommend talking to your manager about this. If you are the firs...
2
4
108
2019-02-14T15:00:37.177
data_quality
sqa.stackexchange.com
10,970
recover a single mysql database on a busy master-slave replicated system
Looking for a strategy or tool to deal with recovering a single database to a point-in-time in a busy replicated system. I have 12 databases running on 2 MySQL 5.0.77 servers in master-slave replicated configuration. A full dump is taken of the read-only slave daily, and there are incremental SQL dumps available, with ...
If all your database use InnoDB only, I have some good news. You should be to dump all the database in parallel from a slave. In fact, you can force all the databases into the same point-in-time. First thing to remember about a the Slave is that it is not not required to have binary logging enabled if it is not a Maste...
10
7
3,339
2012-01-19T17:00:52.663
data_quality
dba.stackexchange.com
85,982
Is someone trying to hack into my SQL Server Database?
I was asked by a friend, who isn't technical at all, to help her with her application. I thought I would just being doing a little C# development and some SQL queries. Turns out it has been a lot more than that. Needless to say I've learned a lot. I've stumbled upon the Server Logs in SSMS. To my surprise there are TON...
Looks like somebody is really trying to hack into your SQL Server with brute force attacks. I recommend taking a look at this Whitepaper on SQL Server security , that will help you a lot. Since most attacks happen at the same time, make sure you don't have a security scanner on your network that runs its checks at that...
4
2
2,380
2014-12-12T04:06:25.917
database_errors
dba.stackexchange.com
584,585
How to convert certificate from CA to .pfx file?
I have been struggling since last night to create a . [CODE] file using [CODE] . I have been following this document and have been following the instructions under the [CODE] header. I have also tried various things from trawling through posts but my lack of experience in this area is really impeding my efforts. I am a...
To extract the certificate from the PKCS#7 container that you appear to have, run [CODE] Than you can use the pkcs12 command you already stated in the question to generate the PKCS#12 (pfx) container.
1
1
6,222
2014-03-26T09:02:39.660
infrastructure
serverfault.com
372,574
Erlang: Memory implications of passing around large objects in/to functions
Is there a memory penalty to passing around large objects (like an entire http request, or the blob contents of an uploaded file) between functions within the same (Erlang) process? It is my understanding that Erlang passes arguments by value. This would mean passing large objects means their "value" is passed each tim...
Since you don't specify which implementation you use, it is hard to say. The Erlang Specification does not guarantee any specific optimizations except Proper Tail Calls. So, you have to assume the worst. However, if you use either Erjang or BEAM/HiPE, if I remember correctly, they both pass arguments within a process a...
0
3
381
2018-06-14T18:30:58.107
api_errors
softwareengineering.stackexchange.com
645,210
How to do proper error handling in a push setup?
I am currently building a lab environment to get a feeling on what DSC can accomplish and where the limits are. We have a requirement to push out one-shot configurations to group of nodes based on criterias like operating system, AD group membership and OUs containing the targets. So I developed the following exemplary...
One approach would be to just not keep track. Just place all your mof files in one folder and have a scheduled task run twice a day that pushes them to your nodes. That would be very easy to set up and manage. Set it and forget it. The expected use case is to set up a pull server. You still have to configure each node ...
4
0
677
2014-11-18T13:24:10.803
infrastructure
serverfault.com
675,135
How to Disable ModSecurity without any Errors
I've enabled Mod_Security on my VPS which runs an Ubuntu OS with an apache web server. Now, I want to disable it because I setup another firewall to protect my server. I've tried preforming the steps in reverse order (taking out lines of code and disabling modules), but when I try to restart Apache, it keeps saying tha...
A quick search of the interwebs suggests that one of the steps you will have undertaken to enable mod_security is to create the file [CODE] . To disable modsecurity, all we need to do is remove/rename that file and restart apache.
3
6
21,000
2015-03-13T01:37:29.970
infrastructure
serverfault.com
287,491
Equivalent of PGAdmin III Server Status Activity Window in PGAdmin 4 v5
I'm in the process of upgrading to Postgres 13.2 from a much older version. This entails an upgrade from PGAdmin III to PGAdmin 4. PGAdmin III has a brilliantly designed feature called Server Status Activity Window which lists all open connections on a server. If you sort the connections by the "Query Start" column (de...
I came up with this query that returns the same columns as PGAdmin III Status Activity window but alas there is no color-coding of queries running longer than 5-10 seconds and no button that will terminate the query or the connection. [CODE] This query is based loosely on this post and this post
1
1
2,264
2021-03-22T17:03:53.723
warehouse_errors
dba.stackexchange.com
961,584
Add Client Certificate when acting as a reverse proxy
I basically have the exact same problem as Add Client certificate when acting as reverse proxy (Apache/NGINX) , but in my case there is no nginx that can help me out. I want a certain location inside my virtual host to act as a reverse proxy for a third party server, like [CODE] [CODE] however requires authentication w...
When Apache is configured as a proxy there are 2 separate HTTP(S) connections: one from the HTTP client to your Apache one from your Apache to some other server The client of the first connection has no direct way to know your Apache is working as a proxy, nor where it connects exactly. Both connections coexist more or...
2
3
8,647
2019-04-04T20:10:45.260
api_errors
serverfault.com
50,993
Error cloning gitosis-admin on new setup
I have the following in my gitosis.conf. (Created via [CODE] with the key from my laptop) [CODE] When I try [CODE] , I get the following errors: [CODE] I know my key is being accepted because I have tried logging in via SSH and although a terminal won't be allocated, the authorization works.
I'm not sure if you made a mistake while pasting your question in but are you 100% positive you used: [CODE] and not [CODE] ... It's a subtle change but your example shows you trying to clone gitsos -admin.git and not gitosis -admin.git
4
3
4,504
2009-08-06T16:02:18.193
infrastructure
serverfault.com
755,631
Is there a way to find out what cluster or vcenter an ESX server is on?
I need to be able to identify which cluster or vCenter instance some ESX servers are part of, but need to get this information directly from the ESX server itself. Is this information available in the vSphere API on the host system? Background: I want to assign a unique identifier to each VM in a large estate managed b...
You can find this information from the ESXi host directly by examining the [CODE] parameter in [CODE] . [CODE] This should also be available via API.
7
2
3,359
2016-02-11T18:23:32.280
data_quality
serverfault.com
804,492
DNS servfail at some of Nameservers
I make tiny little Nameserver for my own just for fun. Currently it serves *.iwanhae.ga sites. likes http://blog.iwanhae.ga but the problem is some of nameservers can not get ip address of blog.iwanhae.ga. for example, Google dns server(8.8.8.8) can get 175.193.162.44 (the ip of every iwanhae.ga) But at Verizon dns ser...
A [CODE] answer tells you there's an issue reaching the DNS server for your domain, or that it isn't set up properly. It looks like you're only replying to [CODE] queries from your DNS server, which might explain why some nameservers don't like your domain. A trace outputs the following: [CODE] Asking your nameserver d...
10
14
91,643
2016-09-21T16:04:57.113
infrastructure
serverfault.com
361,951
tune2fs: Bad magic number in super-block while trying to open /dev/sdb1
I am experiencing the above problem and I have no idea what caused this. Can someone help me figure this out? 1) I have already had my first disk [CODE] working properly, now I am trying to create another FS on the 2nd disk: [CODE] [I pressed n, p, w under fdisk] 2) I took a look at the result of fdisk [CODE] 3) I make...
You need to create the FS on [CODE] , not [CODE] . [CODE] (Might just be a typo in the question). More important: [CODE] is meant for ext2/3/4 file systems, not XFS, so this can't work at all. What do you want to do with [CODE] ?
7
9
45,405
2012-02-20T19:32:03.567
infrastructure
serverfault.com
186,996
Simple Query intermittently returning 0 results
I'm having a strange problem and need help troubleshooting. if I run this query on my gallery table: [CODE] it works perfectly, but then randomly return 0 results, for a few seconds and then continues working. I could be wrong but i think i have narrowed the problem down to the 'awarded' column, as other queries of the...
Improve the situation by adding a composite index: [CODE] Is there some other process that is doing bulk changes to [CODE] ? Perhaps not transaction-safe?
0
1
271
2017-09-27T03:30:39.210
warehouse_errors
dba.stackexchange.com
140,454
IIS, SSL, and Virtual Directories
I'm running a webserver on WS 2k3, IIS 6.0. Some of the content is on that server, but most is in a virtual directory linked to another server. Everything works (almost) fine when no SSL is used. However, when using SSL, I cannot access the files in the virtual directory. Instead I get error 404, page not found. IIS lo...
The error your are getting when try to access [CODE] is a 500.16. This means "UNC authorization credentials are incorrect" in IIS world. Check to make sure that the user you are connecting to the share with has proper permissions on the destination server/path.
1
1
676
2010-05-10T23:24:21.103
infrastructure
serverfault.com
97,255
What is the benefit of training an ML model with an AWS SageMaker Estimator?
It looks like there are different routes to deploying an ML model on SageMaker. You can: pre-train a model, create a deployment archive, then deploy create an estimator, train the model on SageMaker with a script, then deploy My question is: are there benefits of taking the second approach? To me, it seems like writing...
The approach one looks best when you are training a small model or one which doesn't take much compute time but when training large model it's always prefered to train via second approach. Reasons are as follows: When training large model you might require distributed training either Data or Model parallel. When runnin...
1
0
156
2021-06-29T14:38:55.747
pipeline_ops
datascience.stackexchange.com
114,835
What is the best method to start understanding BIG project source code?
Possible Duplicate: How do you dive into large code bases? Sometimes before developing new products we need to understand some existing products or existing source code. Sometimes to write another small module of that big project we need to understand that big source code. In our case we need to study and understand a ...
All big projects have some sort of documentation usually Doxygen which can help a lot in understanding the code. You can also use code browsing tools like SourceInsight to study the code. Last but the best approach is run the code and debug use cases.
3
2
7,029
2011-10-18T06:15:19.307
data_quality
softwareengineering.stackexchange.com
636,975
Custom TLDs, shortened URLs and usage
I'm curious about a few things with regards to TLDs and their allowed/semantic usage. I'm in the wine business and I currently own a .com domain. However the main domain name is quite long; not really suitable for phones/maximizing QR code scannability. So I've been looking into shortened URLs - but I need permanent sh...
Question#1. No real issues (SEO snakeoil/voodoo non withstanding) since lots of places use TLDS associated with other countries, etc. Such as [CODE] -- (British Indian Ocean Territory), [CODE] -- (Tuvalu), [CODE] , -- (tonga). Most spiders tend to look at use doctype/codepage to determine language anyways. Question #2....
1
0
185
2014-10-14T17:07:58.823
infrastructure
serverfault.com
387,148
Integration Testing: Should a test check every validation?
I am somewhat new to writing tests and I want to build that habit into my workflow. So for example I might write a test that a user can create a blog post however I'm not sure on how to do that effectively. Should I have a test case to verify that every field is validated? By that I mean I could either only write one t...
These aren't integration tests. These are unit tests. They should be written before the operational code that makes them pass. Writing them shouldn't be a redundant after thought. It should be an expression of your design. Done right they will ensure that however your operational code is implemented it enforces these r...
2
2
1,439
2019-02-13T21:56:32.157
data_quality
softwareengineering.stackexchange.com
1,020,017
FreeBSD jail routing issue
I have the following setup with FreeBSD jails and VNET which is supposed to grow into a DNS core net lab setup. The jailhost and the jails are running FreeBSD 12.1. The jails are connected by [CODE] interfaces. The BRAS jail which is supposed to act as the network's edge router is connected to the jail host by [CODE] i...
Long story short, it wasn't related to jails or epair at all. I just forgot to set an entry for the return route.
3
2
727
2020-06-04T11:50:39.107
infrastructure
serverfault.com
346,911
Looking for suitable backup solution Mac OS X to offsite Centos 6 server 1TB of working data
I'll start by saying what we have in place currently: On site file server (Mac OS X Server) that is used by GFX designers and they have a working 1TB of data. Offsite server with 2TB available storage (Centos 6) Mac OS X server rsync data to offsite server every 6 hours ( [CODE] ) Mac OS X server does full data backup ...
Try rsnapshot ( rsnapshot.org ). It does exactly what you're after: it's in the RPMForge yum repos (so is packaged for CentOS), operates over rsync via SSH, and keeps a configurable number of incremental backups. edit: You could implement a recovery front end by exporting the rsnapshot datastore over NFS or Samba (or a...
0
1
1,116
2012-01-05T12:45:06.683
api_errors
serverfault.com
695,766
ansible command with_items
In ansible 1.5.4 the following command worked flawlessly: [CODE] After upgrading to 1.9.1, the command fails with a [CODE] error. As [CODE] is already quotes, I don't know what is wrong. How can I get this command working again?
Have a look at https://github.com/ansible/ansible/issues/8260 for the details on why this change in behaviour was made (to prevent additional arguments being injected in the command module). The following format should work: [CODE]
4
5
6,617
2015-06-01T10:06:10.080
pipeline_ops
serverfault.com
292,889
"Versions" of Directory Service Values
I want to have several applications using AD LDS for centralized configuration information. I would like to know if there is a way to back up indepdendant sections of directory entries, such as "per Organizational Unit"? My use case is this: a directory entry is modified in OU "Sales". An hour later another entry is mo...
Well, I can't say that the restore/revert process is as easy as you're looking for, but for this same basic use case I ended up wrapping some scripting around the [CODE] command, compressing (make sure you compress, they compress very well) and archiving the snapshots on one of the domain controllers (I'd suggest versi...
2
2
48
2011-07-22T00:58:21.957
infrastructure
serverfault.com
469,357
What is the exact meaning of "SASL authentication failure: incorrect digest response"
I followed Flurdy's how-to for setting up a mail server on ubuntu. I can receive mails and use squirrelmail to read and send emails. However, I can't send emails through my server using my email client (thunderbird). The mail.log shows: "SASL authentication failure: incorrect digest response" Can somebody explain what ...
Non -verbose logs from your mail.* log concerning one attempt to send mail would tell us what postfix thinks of it. It is quite likely you did not set up TB to use STARTTLS with secure authentication; another possibility is an incorrect auth mechanism configuration. Consult the official documentation , not some unknown...
1
1
4,051
2013-01-15T18:07:45.073
api_errors
serverfault.com
290,848
VPN and Remote Desktop Stopped Working (Windows Server 2008 R2)
Recently, both the VPN and remote desktop stopped working. See below for details. VPN: [CODE] Remote Desktop: Still accessible from within LAN Gets stuck on [CODE] from outside the network From what I've gathered, every other service is working perfectly. All ports appear to be forwarding properly, and I can access the...
You might check to see if any recent firewall changes have taken place.
0
0
1,657
2011-07-15T20:07:08.170
infrastructure
serverfault.com
80,384
Semantic networks: word2vec?
I have some doubts on how to represent the relationships between words in texts. Let’s suppose I have two sentences like these: [CODE] What I would expect is a connection between name Angela and Merkel (Angela is the name, Merkel the surname) who is German and politician and Chancellor. I read about the use of word2vec...
There are a few models that are trained to analyse a sentence and classify each token (or recognise dependencies between words). Part of speech tagging (POS) models assign to each word its function (noun, verb, ...) - have a look at this link Dependency parsing (DP) models will recognize which words go together (in thi...
0
1
57
2020-08-17T07:56:22.247
data_quality
datascience.stackexchange.com
476,156
varnish and SSL
Can you use varnish with SSL? What I currently have. Can I get SSL in here? [CODE]
No, varnish doesn't support SSL .
0
2
420
2013-02-06T18:23:03.907
infrastructure
serverfault.com
930,726
Unable to block port 25 on server
When I scan my server using nmap [CODE] , I see a line with [CODE] . This is despite the fact that I'm not running postfix, exim or any other kind of mail server on the machine. I have also tried to block port 25, using IP table rules. [CODE] But despite running this and verifying that the iptable rule exists with [COD...
It may be the the ordering of your rule is incorrect. Try and move the rule further up, also what version of Linux are you running? If in Ubuntu try [CODE] and see what program is being used to listen on that port and then change/stop that process
0
2
1,845
2018-09-13T10:32:45.247
infrastructure
serverfault.com
1,036,501
Windows clients not able to join to a domain hosted by qnap nas
I am pretty new in networking and I bumped into a challenge that I am not able to solve for three days. What I would like to achieve is to join a windows server (windows server 2016) and Windows 10 clients to an active directory domain hosted by a qnap NAS (TVS-473e). I tried to follow the available tutorials and read ...
When you enable the Domain Controller component on the QNAP it also enables the DNS Server component. The DNS Server component is the DNS server for the Domain and hosts the domain DNS zones. On the server that you want to join to the domain you need to set the DNS server to the ip address of the QNAP.
-1
0
2,680
2020-10-05T19:26:25.133
infrastructure
serverfault.com
153,976
What is Rainbow (not the CMS)
I was reading this excellent blog article regarding speeding up the badge page and in the last comment the author waffles (a.k.a Sam Saffron) mentions these tools: dapper and a bunch of custom helpers like rainbow, sql builder etc Dapper and sql builder was easy to look up but rainbow keeps pointing me to a CMS, can so...
Author apparently refers to Dapper.Rainbow micro-ORM used in Stack Exchange Data Explorer. Project home page at NuGet Gallery - http://nuget.org/packages/Dapper.Rainbow Trivial micro-orm implemented on Dapper, provides with CRUD helpers. ... The implementation was extracted from http://data.stackexchange.com source at:...
5
9
746
2012-06-23T07:22:58.347
api_errors
softwareengineering.stackexchange.com
1,080,214
Add office365 Sharepoint library to OneDrive Sync
I'm working on automating the OneDrive setup for new computers, and I'm new to this kind of thing. I need to automate the Sharepoint shared library setup on the user computer. This way the user has all the shared librairy in the Windows file explorer. This Sharepoint is provided with our Office365 account. I read the M...
So, we must URL encode paramters like below : [CODE] That's all...
0
0
2,288
2021-10-11T16:24:30.610
infrastructure
serverfault.com
688,583
Does the SQL Server 2008 Recovery Model and Log Size Impact Memory Usage for sqlservr.exe process?
Problem We have a SQL Server instance (2008) running our software with what we consider a small number of users (about 30 concurrent connected to the server at any given time) As a vendor, we're not SQL DBAs and only really offer a basic skill-set for these sorts of issues. Most clients have their own SQL DBA to fill t...
How big is this database? SQL Server likes to put the entire database in memory. It sounds, from your question, like it's a 200 MB MDF with a 250 GB LDF, or something horrifying like that. Recovery model doesn't enter into it unless they're grossly neglecting the database, which they clearly are. Set the database to si...
1
2
376
2015-05-04T21:49:45.470
database_errors
serverfault.com
188,316
Kerberos Authentication for Webservers
Before I blindly jump on "trial an error" tests, I'd like to ask some general questions on Kerberos Authentication for Webservers. I want to evaluate what's possible with Kerberos. The main benefit would, of course, be Single-Sign-On. But it might also be an appropriate alternative to LDAP Authentication etc. (and luck...
To answer your questions, Yes, webserver and Browser/client need to connect to the KDC to verify the tickets. You must do a kinit/domain login to get TGT and further the webbrowser will get a HTTP service ticket to access the webserver. Exposing kerberos/domaincontroller on internet is not a good practice. Try using we...
1
2
3,818
2010-10-06T21:18:32.843
api_errors
serverfault.com
179,489
What's the point of the Prototype design pattern?
So I'm learning about design patterns in school. Many of them are silly little ideas, but nevertheless solve some recurring problems(singleton, adapters, asynchronous polling, ect). But today I was told about the so called 'Prototype' design pattern. I must be missing something, because I don't see any benefits from it...
Allocating memory might not be the slow part of creating your object. If the object is data driven or otherwise the result of a calculation, it is sometimes prudent to cache the result so that that result can be cloned rather than re-done. Thus, the Prototype pattern.
5
5
3,488
2012-12-14T23:51:16.660
api_errors
softwareengineering.stackexchange.com
103,103
Running a ASP.Net MVC Application on Windows Server 2008
I have just installed a ASP.Net Mvc application on a windows server 2008. When I try to use the application I see that IIS 7 tries to use the static file handler, I therefore get a 403 or 404 error. I have tried adding the URL routing module and giving it priority. I have install the ASP.Net MVC msi. How do I get it to...
In Server Manager, select Web Server (IIS) and press 'Add Role Services'. From here, select 'ASP.NET' and press OK to add the other required role services.
2
5
2,976
2010-01-15T16:17:15.383
api_errors
serverfault.com
799,918
How long DNS blacklist updates at Lotus Domino?
As I kown,for performance,Lotus Domino will get the DNS blacklist from the [CODE] and save it in memory. So,it is not real time? For example: 2016/08/30 09:37:46 SMTP Server: iZ28mxuzo2dZ (27.75.142.47) connected 2016/08/30 09:37:49 SMTP Server: 41.225.94.52 connected 2016/08/30 09:37:49 SMTP Server: iZ28mxuzo2dZ (27.7...
A possible option to find out the time will be to enables debug of DNS Blacklist lookups: [CODE] More infos here and here .
0
0
211
2016-08-30T07:15:28.713
infrastructure
serverfault.com
1,745
Are relations slower than a big, inefficient table?
I've been asked in my job to violate the first normal form (repeating groups across columns, using empty / null values) several times, "for the sake of computer processing power". In a nutshell, a "student" table should have at least 8 empty fields (e.g telephones: telephone1, telephone2, telephone3...) instead of my s...
I don't see how anyone could make such a statement without having some actual facts to back it up. If your queries are CPU bound, then you should look to find ways to reduce that bottleneck. It sounds as if your boss feels that a denormalized database will perform best, but I don't know enough about your application to...
8
10
261
2011-03-15T02:22:04.593
data_quality
dba.stackexchange.com
945,676
Apache httpd whitelist access control via X-Forwarded-For header
I have the following httpd.conf file which I am using to test [CODE] header IP whitelisting. Note that the [CODE] directory is empty: [CODE] When I cURL to get the local page with this server, it works regardless of the XFF header: [CODE] [CODE] These work, but print the following in the error log (These requests shoul...
I think you need the [CODE] bit to be changed to [CODE] . That refers to allowing a user if they meet the authentication OR access requirements. Since I don't see an authtype set, it's defaulted to [CODE] which I think allows them to pass in. [CODE] means Authentication AND Access are required to be met.
1
1
2,902
2018-12-17T15:27:44.070
infrastructure
serverfault.com
659,446
Setting default permissions on newly created files/folders
I have a network of sites where all sites share same "images" folder. I have created /home/_images/entities and symlinked it from all websites, and it works great with Apache, when I open /images/ on any of the sites I get list of images and can view them. The problem is suPHP which changes process ID of the PHP script...
Applications, in this case suPHP, can override the defaults and explicitly set the permissions they want. If suPHP is forcing the permissions for "other" to be something besides what you want, a workaround is to add an ACL for a different group, say users, that contains user1 and all of the other users you want: [CODE]...
3
1
817
2015-01-14T14:18:04.063
infrastructure
serverfault.com
1,045,882
Ansible created user on Windows, gets ".EC2AMAZ-ELNOCH3" appended to username
I have created a Windows Server 2019 AMI using Packer, and Ansible as provisioner. I have added a user [CODE] , and copied SSH files (public/private key, known_hosts, authorized_keys) to [CODE] . This is the relevant part of my Ansible playbook: [CODE] I start an EC2 instance from this AMI. I login with ssh: [CODE] I a...
Using community.windows.win_user_profile – Manages the Windows user profiles. Create the home directory right after the user is created, and only then copy the files. This is how to do it in Ansible: [CODE]
1
1
653
2020-12-11T22:07:49.527
pipeline_ops
serverfault.com
493,357
How does sharing a single IP address in a web hosting environment affect performance?
In shared web hosting sometimes hundreds of virtual hosts operate on the same web server at a single ip address. In what specific ways does the sharing of an ip address, rather than the sharing of other resources, affect performance?
The only way this affects performance is the total requests on the server will be higher as well as the lookup in the vhost file to match the url. To determine how many virtual hosts there are operating at a single ip you cannot doe a reverse DNS but IP lookup. You can also do one online at : http://www.yougetsignal.co...
1
1
144
2013-03-28T20:37:53.510
infrastructure
serverfault.com
144,295
Make index work on join to table variable
I a table with several columns, but the most importants are: [CODE] , [CODE] and [CODE] . [CODE] I also have a table variable which contains several rows (4 for now): [CODE] I used indices on DocumentStatusId (is was a primary clustered key), and unique constraint (Treshold, DocumentStatusId), but query didn't use it, ...
Assuming your variables are always [CODE] [CODE] Is equivalent to [CODE] Which is equivalent to [CODE] So if you have this index [CODE] And the following query [CODE] It can do an equality seek on [CODE] and a range seek on [CODE]
2
3
215
2016-07-19T09:56:02.967
database_errors
dba.stackexchange.com
189,794
performance impact when renaming a column in 100M rows table
We are running SQL Server 2012 Standard Edition. Need to change the name of a column in a table with +100M rows. This table is heavily used at all times. I can't say at this moment if the column in question is part of an index (should I expect different behavior in case it is?) What is the performance impact I should e...
The size of the table does not matter. Changing the column name just changes metadata in the table. However, there's no concept of a column metadata lock in SQL Server. Renaming a column requires a schema modification lock on the table. Here's what the lock request can look like: [CODE] Under the default isolation leve...
8
10
2,954
2017-10-31T20:38:24.970
database_errors
dba.stackexchange.com
981,403
Failed to start MySQL Community Server
Following error is being showed while checking the status for my-sql . OS: Ubuntu 18.04.3 Mysql: mysql Ver 14.14 Distrib 5.7.27, for Linux (x86_64) using EditLine wrapper [CODE] I tried to start using mysqld command which ended with following error [CODE] my.cnf [CODE]
The errors you got on the console when running [CODE] directly include: 2019-08-31T12:51:57.597359Z 0 [ERROR] Failed to access directory for --secure-file-priv. Please make sure that directory exists and is accessible by MySQL Server. Supplied value : /var/lib/mysql-files That's your problem. To resolve it, first check...
4
4
79,514
2019-08-31T06:39:56.783
database_errors
serverfault.com
118,507
Optimizing queries vs. adding indexes
I have this very old and SLOW query that I am trying to optimize, but I am not sure I can do anything to it, but add more indexes on columns involved in WHERE, JOIN and ORDER BY. Query: [CODE] Execution Plan: In all honesty I don't know what to do with this query. Should I add individual nonclustered indexes on all col...
You have a whole lot of looping going on Give this a try The exists will be faster then count And bring stuff up into the join can help the optimizer [CODE]
0
2
137
2015-10-19T19:59:12.707
database_errors
dba.stackexchange.com
983,781
Microsoft Exchange 2013 - remove-mailboxpermission - an inherited access control entery has been specified
We have been using Exchange 2013 CU22 on Server 2012 R2. I run this: [CODE] I get this: [CODE] Get-MailboxPermission "SharedMailbox" Result : [CODE] Get-MailboxDatabase SharedDB | Get-ADPermission Result : [CODE] Any assistance would be greatly appreciated. Blind
You can follow the steps mentioned in this article to Remove Exchange Inherited permissions to Mailboxes . The permission can be added at multiple levels so it’s aways a diagnostic trail to where this was added. Go through each of those mentioned and if IsInherited is set to False you’ve found out where it’s being appl...
0
0
2,423
2019-09-11T08:06:05.270
infrastructure
serverfault.com
652,474
Geographic load balancing
At a company they currently have a typical webserver setup: one webserver and one database server. Unfortunately there are often problems due to high load on the webserver and database so I was asked to configure load balancing with 2 webservers. However someone asked me to place the second webserver on another company...
Based on the details that your provided, I don't think there is enough information to say it is a good idea or not. It depends if the application is used by multiple countries or not plus other factors such as latency sensitiveness. Load balancing between 2 data centers might be a little more complex and expensive than...
2
5
1,818
2014-12-14T13:17:33.333
infrastructure
serverfault.com
179,589
How to configure Windows user accounts for ODBC network with NT authentication?
I'm trying to create a connection to an SQL Server database from the ODBC Data Source Administrator using "Windows NT authentication using the network login ID". Both server and client are running Windows XP. It appears that any account with administrator privileges can add the data source on the server*, though connec...
It sounds like you'd get some benefit from documentation describe the "basics" behind the security system in Microsoft SQL Server. I'd have a look at these docs relating to principals , permissions , and securables to get a feel for how you can apply permission for users/groups to access objects in a granular fashion i...
2
2
8,557
2010-09-09T15:23:19.567
database_errors
serverfault.com
26,182
Parzen and k nearest neighbor
I have this formula for the density estimation. $$p_n(x) = \frac{k_n / n}{V_n}$$ I have been told that with a Parzen window approach you can specify $V_n$ as a function of $n$. So if $V$ decreased when $n$ increased it is clear that it is a fixed volume. I have also been told that with a knn approach you specify $k_n$ ...
The probability that a vector $x$ is drawn from $p(x)$ in some region $R$ of a sample space is given by $ P = \int_{R} p(x')dx'$. Given a set of N vectors drawn from the distribution; it should be obvious that the probability k of these N vectors fall in $R$ is given by $P(k) = \binom{N}{k} p^{k} (1-p)^{N-k}$. From the...
4
2
2,325
2018-01-01T11:44:55.487
data_quality
datascience.stackexchange.com
306,185
Data corruption-Errors found in off-row data- am I loosing data?
I need your help with understanding what is going on in my database. Check DB job detected some issues in one of the tables. There are two types of error messages. A lot of errors like below: [CODE] and 3 errors like below: [CODE] All of them points to one table [CODE] . If I run [CODE] I have N rows. I recreated that ...
Personally, I would not trust data returned from a table CHECKDB found some problems. Assuming there is backups (full and log) availabile, I would: Restore a copy of the database from the last full backup (or full+diff) prior to the first time checkdb found the error Restore all transaction log backups, up to the lates...
1
1
702
2022-01-17T17:26:50.640
data_quality
dba.stackexchange.com
99,646
I am getting this error ValueError: not enough values to unpack (expected 4, got 2)
I have written this code: [CODE] and I am getting this error: [CODE] . I tried many ways to remove this error but all was in vain. Can you explain to me why I am getting this error?
The [CODE] function from [CODE] splits arrays/datasets into two, meaning that for every array passed in you will get two arrays back (one with the training data and one with the test data). In most examples two arrays are passed in, with one being the array with features ( [CODE] ) and the second one being the values y...
0
0
4,192
2021-08-03T12:00:52.037
data_quality
datascience.stackexchange.com
1,052,100
How can I debug firewalld on CentOS 7 stopping running unexpectedly?
I have a brand new CentOS 7 server and am just performing the initial setup. I have started firewalld with [CODE] both commands appeared to run successfully Created symlink from /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service to /usr/lib/systemd/system/firewalld.service. Created symlink from /etc/systemd/...
To help anyone else suffering a similar problem, this was a case where the hosting provider automatically disabled any user attempts to set up firewalls on the VM. As per this comment , the solution was simply to open a support request with the host.
0
0
896
2021-02-02T12:28:53.853
infrastructure
serverfault.com
272,386
IoC invalidation
I have a bunch of services that get registered as singletons by my IoC container on startup, all of these services have a constructor which takes in a connection string which is used by the underlying storage provider. This has been fine given the connection string was static and never changed during a session, however...
Your second approach is the correct one, I feel. I say slightly because ultimately I still have the same problem (services are still referencing a large object for one simple property). The size of the object that your other objects are referring to is not the issue. The size of the interface that they're referring to ...
4
2
387
2015-02-06T21:46:26.060
pipeline_ops
softwareengineering.stackexchange.com
995,731
Emails are getting temporarily suspended from yahoo and yahoo doesn't give a damn
I have 4000 awaiting emails to yahoo in my mail queue all looking like these: [CODE] Affected IP: mail.arsacia.ir (89.42.211.41) (Dedicated IP address) (Not in any blacklists) Logs in my postfix mail server when I send email to yahoo: [CODE] This error is not in any way temporary! I'm having this for ages and it's just...
You need to configure an outgoing rate limit on Postfix for all Yahoo domains, because obviously Yahoo dislikes your speed/level of concurrency and your MTA is always triggering some type of anti spam defense mechanism due to that. Take a look at this blog post where the author faced the same problem, it might help: ht...
1
2
15,927
2019-12-16T13:42:39.397
infrastructure
serverfault.com
41,294
Using Windows SBS 2008 with an external DHCP Server
Trying to install Windows SBS 2008 on an existing network. It won't let me use the existing DHPC server During the "Connetct to the Internet" wizard I get "An external DHCP Server is running on your network at xxx.xxx.xxx.xxx, xxx.xxx.xxx.xxx. Stop the external DHCP Server, and then click Continue to try again." and it...
To work around this you need to disconnect the network cable from the SBS 2008 server before running the "Connect to the Internet" wizard. The wizard will fail when it can't access the Internet. You will then be able to enter your router information manually in the wizard. Once you have done this there will be a "Test"...
1
1
6,066
2009-07-15T21:35:54.603
infrastructure
serverfault.com
89,983
SSMS 2008 R2 no longer connects to database
Before Christmas I had no problem connecting SSMS 2008 R2 to a specific remote database. Since Christmas, I get this error when I try to connect: TITLE: Connect to Server Cannot connect to [IP ADDRESS]. ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer...
Your first test should be to just try and connect via telnet to port 1433 of the ip in question (assuming it isn't a named instance in which case check the start of your SQL error log to get the dynamic port number). This will at least prove the server is listening correctly and you dont have any network/firewall issue...
0
1
710
2015-01-23T01:11:49.840
database_errors
dba.stackexchange.com
1,100,186
Shell script to check resolv.conf
I need to write a shell script which checks the contents of [CODE] Eg [CODE] [CODE] / [CODE] / [CODE] can appear in any order [CODE] line can appear in any order There could be spaces between the parameters. What is the logic that can be used to check the config Eg If [CODE] is missing, it should highlight abc.com is m...
The most basic check to see if a file contains a particular pattern is with the common [CODE] command-line utility. With the correct flags and options you can build a basic script that does something along the lines of the following pseudo-code: [CODE] Which can of course be fine-tuned according to your needs. As other...
0
2
566
2022-05-04T22:15:17.123
infrastructure
serverfault.com
291,783
sftp and public keys
I am trying to sftp into an a server hosted by someone else. To make sure this worked I did the standard [CODE] i was promted with the password and that worked fine. I am setting up a cron script to send a file once a week so have given them our public key which they claim to have added to their authorized_keys file. I...
debug3: Trying private key: /root/.ssh/id_dsa debug3: no such identity: /root/.ssh/id_dsa Did you create your key pair as the root user? Doesn't look like you did, as /root/.ssh/id_dsa does not appear to exist (or perhaps the permission are wrong: should only be read/writeable by root; no world/group read/write access)...
4
1
22,707
2011-07-19T11:22:28.750
infrastructure
serverfault.com
405,657
Unable to access site over HTTPS using self signed certificate
Possible Duplicate: Configuring IIS site to use HTTPS I am developing a REST API which I want to secure with SSL/TLS. I have implemented a large part of the API which I have tested over HTTP, however, I am now at the stage where I want to switch it over to use HTTPS. At the moment the API is hosted on a Windows XP prof...
Is port 81 HTTP or HTTPS? You can't run both on the same port, so if you're hitting [CODE] , getting the 403, and then trying again on [CODE] , it's little wonder you're seeing problems.
0
2
1,838
2012-07-07T11:44:55.047
data_quality
serverfault.com
195,147
How to install columnstore in MariaDB on Mac OS X with Homebrew
I would analyse time-series data using MariaDB ColumnStore but error encountered [CODE] After checking, I found the columnstore engine didn't exist. [CODE] Please advise how to enable columnstore in MariaDB
MariaDB currently is a distinct download from regular vanilla which adds in the columnstore engine: https://mariadb.com/downloads/mariadb-ax However we don't currently have a native Mac build so the simplest recommendation is to run this via docker in a vm: https://mariadb.com/kb/en/library/mariadb-columnstore-docker-v...
2
2
964
2018-01-11T09:33:37.810
database_errors
dba.stackexchange.com
25,359
File Extraction from BI Tool
I have the task to validate the file extraction from the BI tool to ensure the records are extracting as we expected from the Report. My Question is During file Extraction We using the option as CSV to download the file.While downloading application taking bit time to process records from DB using queries Is any way to...
Use resource monitor which comes with windows. You can monitor ram,HDD read write speed and network usage for a given processor.
0
1
39
2017-02-07T11:30:14.037
data_quality
sqa.stackexchange.com
948,438
RoundCube sauserprefs plugin shows empty page
CentOS 7. Just installed the sauserprefs (version 1.17.1) plugin for Roundcube (version 1.3.8). The "Spam" tab is added OK. When I click on "Spam" tab, a page opens, where I can see the menu on the left side ("Section"), but nothing on the right side. When I try to click on the sections, I see that "General Settings" a...
Using sauserprefs version 1.17.1 you have to specify [CODE] parameter in sauserprefs [CODE] : https://github.com/johndoh/roundcube-sauserprefs/issues/52 https://github.com/johndoh/roundcube-sauserprefs/issues/48
0
0
342
2019-01-10T13:46:25.937
infrastructure
serverfault.com
1,044,950
tel: URI support in Freeswitch(for outgoing calls)
I have integrated a Freeswitch instance with an external SIP server and calls are working without any issues. But now I need to change the SIP server which only supports tel: URI. In the case of incoming calls, Freeswitch is able to identify the number through ^(+999)?(\d{10})$ regular expression. But in outgoing calls...
FreeSwitch has no URI support: https://github.com/signalwire/freeswitch/blob/master/src/mod/endpoints/mod_sofia/sofia_glue.c#L1394
1
0
397
2020-12-04T10:17:32.437
infrastructure
serverfault.com
284,699
Setup IIS 7.5 with multiple website bindings and SSL?
On IIS 7.5 I am trying to achieve this with two websites: [CODE] And both need to work with SSL. But I have these problems: When I type in beta.example.com, I see the go.example.com site instead I can not seem to add the SSL binding to both websites at once (I have a single *.example.com wildcard certificate). The beta...
Without SNI extensions , you can bind only one SSL certificate per IP:port pair. If you need to run 2 HTTPS on the same IP -- bind them to different ports and then refer to such site providing port in URL (e.g. [CODE] ). You can use the same wildcard certificate on different ports without any issue. If you have more th...
11
8
41,931
2011-06-27T23:50:17.577
infrastructure
serverfault.com
110,949
Does hierarchial inheritance belong to the past?
Recently it came to my attention that hierarchical inheritance may be a relic of thinking of classes as "structs with functions" rather than a product contract-driven mentality. Consider, as a simple specimen the implementation of "Unmodifiable Iterator" from Guava. http://guava-libraries.googlecode.com/svn/trunk/javad...
The primary purpose of interfaces is to enable reuse of calling code without having to rewrite it for every possible kind of [CODE] (or whatever) object. In your example, the Liskov substitution violation eliminates a good chunk of that code from being reused properly, but this particular interface is so extremely wide...
1
2
157
2011-09-27T06:23:51.500
api_errors
softwareengineering.stackexchange.com
15,528
Herding your users to your bugtracker
I have a fully configured mantis bug tracker for tracking issues in apps that I create. When an user is disciplined and goes straight to mantis to write a issue report, he/she will have fastest response and everything regarding the issue will be very easy to track. However, not everyone is keen to do so. They report th...
Your bug tracker is for your convenience, not your customers'. If you can't be bothered to take their phone or email issue and enter it yourself, how do you think they feel? You need to be able to enter issues and assign them manually to a client. Then when they call in with an issue you can say, "Thanks for reporting ...
17
23
764
2010-10-29T11:11:18.420
api_errors
softwareengineering.stackexchange.com
498,207
How to use a switch as a network tap?
I would like to [CODE] all traffic that my router does when it makes a firmware update. So I have taken a HP ProCurve 1800-8G switch and mirrored port 7 to port 8. I have connected: Internet connection in port 6 routers WAN port in port 7 Linux host running [CODE] in port 8 I suppose the router have a dhcp client on th...
You comment about your router using an RJ-11 connector makes me think that it's an ADSL router. If that's so, you can't do this with an ethernet switch; ADSL cells are not ethernet frames, and the switch will not therefore mirror them to the mirror port. I don't know if the voltages involved are substantially different...
3
4
973
2013-04-10T22:21:53.630
infrastructure
serverfault.com
14,648
Replace all numeric values in a pyspark dataframe by a constant value
Consider a pyspark dataframe consisting of 'null' elements and numeric elements. In general, the numeric elements have different values. How is it possible to replace all the numeric values of the dataframe by a constant numeric value (for example by the value 1)? Thanks in advance! Example for the pyspark dataframe: $...
Using [CODE] would convert all values of the column to the given value. To do it only for non-null values of dataframe, you would have to filter non-null values of each column and replace your value. [CODE] can help you achieve this. [CODE] This would result in: \begin{array}{c|lcr} & \text{c1} & \text{c2} & \text{c3} ...
14
9
57,388
2016-10-19T23:22:22.527
spark_errors
datascience.stackexchange.com
274,788
Postgres: "show max_connections;" output a different value from postgresql.conf file
I'm trying to increase the max_connections value from the config file, but the [CODE] command always shows 100. I restarted postgres after changing the conf file, I have modified the correct config file which is displayed by the command: [CODE]
As the current value is stored in [CODE] , it was changed using [CODE] and thus has priority over any value in [CODE] . You can either use [CODE] again to increase the value: [CODE] which will adjust the value stored in [CODE] Or you can remove the entry from [CODE] by using: [CODE] Then the value from [CODE] will be u...
1
5
13,241
2020-09-01T21:31:03.613
database_errors
dba.stackexchange.com
785,660
Apache up in flames (AH00025). How to fix?
I was trying to get Apache 2.4.10 to do basic authentication (under HTTPS) as specified in a [CODE] file. I changed one directory's settings to [CODE] , and it started serving up nothing but plain vanilla 500 pages. Reverting that directory to [CODE] does not seem to have fixed things. The errors I have found in the lo...
Please load the module, it will resolve your issue; [CODE]
5
9
5,749
2016-06-22T20:52:18.350
api_errors
serverfault.com
544,597
postfix - smtp_address_preference: unknown parameter
I'm trying to change the source IP of my mailing server from IPv6 to IPv4. I'm running Debian 6.0.7 with Postfix 2.7.1 mail service and ISPConfig 3.0.5.1. I found lots of forums saying that is easy as change the parameter [CODE] to [CODE] in [CODE] config file, but I can't find this parameter in that file, and if I run...
smtp_address_preference was a part of the 2.8 update you should look into: inet_protocols = ipv4
1
1
964
2013-10-08T13:42:27.690
infrastructure
serverfault.com
72,830
Is there a machine learning model suited well for longitudinal data?
I have a fairly large (>100K rows) dataset with multiple (daily) measurements per individual, for a few thousand individuals. The number of measurements per individual vary, and there are many null values (that is, one row may have missing values for certain variables/measurements, but not for all). I also have a daily...
Assuming we are not talking about a time series and also assuming unseen data you want to make a prediction on could include individuals not currently present in your data set, your best bet is to restructure your data first. What you want to do is predict daily outcome Y from X1...Xn predictors which I understand to b...
0
0
1,277
2020-04-23T05:03:49.257
data_quality
datascience.stackexchange.com
951,087
bash does not show prompt (prompt missing)
I have a server that does not show standard bash prompt, after I log out from the machine. If I ssh to this server, I can do all operation there (e.g. ls, cwd, etc) Tried to reinstall bash (sudo apt-get install --reinstall bash) also did not help, as well as source the bashrc. This is the output that I currently have a...
Ok i found the issue, the /dev/pts is missing for some reason. After mounting everything, it works as expected: [CODE]
1
2
5,207
2019-01-28T09:39:36.337
infrastructure
serverfault.com
661,421
Is Lync chat, or Persistent Chat a viable alternative to email based alerts?
I'm dealing with an envrionment that mostly uses email for alerting. The issue I have is that all emails must be journaled by policy. In addition, each email is replicated via SMTP using SMTP redundancy, and then again with DAG redundancy. The messages themselves are tiny (5K), but are so numerous that email archiving/...
You could, the real problem isn't getting the message via lync, but about having an effective audit trail for when on call developer doug ignores the IM. He could always claim he didn't get the IM, but SMTP has complete delivery headers, showing that the mail was in the mailbox he was supposed to be checking. If that's...
0
1
116
2015-01-22T00:48:07.360
pipeline_ops
serverfault.com
854,658
Unable tu surpass ~11K requests per second with Haproxy in http mode
I'm not managing to get more that 11K requests per second per haproxy instance. I have two haproxy instances on amazon EC2. Both under a c4.xlarge instance. I tried to configure the maxconn parameter, the cpu mapping and linux limit without any luck. I'm using jmeter to make the tests and if I run two parallel jmeter c...
You don't mention what is the limiting factor. First you're running on shared VMs so only the hosting provider knows whether they deliver you real CPU or not. Second, it's possible that you're maxing out CPU if you're stressing SSL. 11k req/s could more or less match what to expect from resumed TLS connections on a mod...
3
1
1,570
2017-06-08T14:13:21.207
infrastructure
serverfault.com
399,615
Multitenancy - Tenant provider in microservices architecture
We are now in a process of migrating our server-per-client architecture to a multi-tenancy architecture. Everything is in place except for one design issue we are having. We are using a subdomain in order to determine what tenant it is and route it to the proper DB (it is DB-per-tenant). Let's say we have a tenant clas...
If I understood correctly, you need to propagate tenant_id(*) to most (all?) of your services, which will then convert that tenant_id into database access information (not quite sure from your question, whether it's the same db all services uses or different ones). This case seems to be very similar to authentication (...
1
1
666
2019-10-12T08:26:26.683
api_errors
softwareengineering.stackexchange.com
191,033
Are there any reasons not to accept a software deliverable as a virtual machine?
This is a question about logistics, not a technical question. My company has outsourced some embedded software work. Specifically, we have payed a contractor to develop an embedded system for us since we do not have adequate in-house knowledge to do it ourselves (we only have desktop application developers). So, the co...
The problem I see is that the knowledge of setting up and configuring the virtual machine is not in-house, and if configuration is non-trivial then you'll be relying on the other company when the software needs to be configured for different versions of the OS/libraries/hardware/whatever. Accepting the VM is fine to ge...
41
66
3,137
2013-03-18T15:16:24.460
api_errors
softwareengineering.stackexchange.com
405,021
Weird Active Directory behavior after ADMT migration
We have multiple sites with multiple DC's. Since performing the migrations we have been experiencing all sorts of problems with DFSR etc. We have multiple objects in the AD .. DCNAME DCNAMECNF:f9f56ebd-0883-4905-a82e-e152f3ba402c anyone experienced this before? we are contemplating demoting & disjoining ensuring ad obj...
When you introduce 2 AD objects with the same name, a naming conflict occurs, and the oldest object will be renamed by appending [CODE] . [CODE] is probably short for "CoNFlict"
0
0
135
2012-07-05T13:26:57.180
infrastructure
serverfault.com
513,448
Httpd processes using more memory over time
I am using a 3gb memory VPS Centos 6 server.If I reboot it I get about 4 or 5 httpd services running and all of them use about 2.5% of memory (86m on the res column from top command). I am running just one website which is not live yet so I am the only one connecting to it. However everyday I see that the httpd memory ...
You don't actually say what web server software you are using. If you are talking about apache though (and it seems likely with a multi-process model) then you should look at the [CODE] directive . If for example you're running php, ruby or perl apps, that (like most) are not especially careful about memory leaks, then...
2
3
5,273
2013-06-05T14:53:38.350
api_errors
serverfault.com
1,084,295
Why is Nginx truncating the JSON streaming response?
Our stack is [CODE] The problem is when the client makes a call to the [CODE] endpoint, Flask then opens the gRPC connection and starts receiving data via a server->client unidirectional stream. It then passes it back to the client. When I run this without Nginx, I get all responses. When running with Nginx, some respo...
I had the similar behavior from Apache(!) breaking up a html file respone from django. It always broke at the same position without any reason. I finally found that I accidentally did install a mod_wsgi package into Apache from a Python version that did not match the version Apache was calling my app in. Maybe it helps...
2
0
1,048
2021-11-22T22:09:13.773
api_errors
serverfault.com
238,413
How to deal with team members writing bad code
Our team consits of junior and senior developers. Problem I am facing is with the code written by seniors. They are not following MINIMUM coding standards. I am also still learning but I wouldn't declare the inline style or give improper names for variables and controls. I tried to mention it indirectly but they were l...
A couple of things. Don't assume that your seniors don't know what they're doing. They may have very good reasons why they made the decisions that they did; ask them why (in a non-argumentative way). Code that is already written, backed by unit tests, and declared functionally complete by your superiors can be safely i...
23
34
12,031
2014-05-08T16:28:01.607
api_errors
softwareengineering.stackexchange.com
14,786
Why would you split your train data to compute a value on half of the data to then fill the Nan values on the other half?
I was checking a kernel written in python from the Bosch kaggle competition ( kaggle link to python kernel ) and I came across with a weird (at least to me) way to fill Nan values. The train data is split into two halves and then some kind of average is computed in one half by using the non-Nan values of a field along ...
You basically answered your own question: Are you introducing some kind of leakage when mean values are related to the target value and that's the reason why just the half part with filled values (the one in which you haven't computed anything, just filled Nans) is used to train? Is this procedure prone to overfitting ...
4
1
177
2016-10-27T18:59:21.527
data_quality
datascience.stackexchange.com
1,044,376
Kubernetes node runs into DiskPressure and failed ImageGC
so, as of recent I have faces a few problem with my local docker-desktop (Windows) Kubernetes cluster. Every now and then, the cluster just randomly seems to run into DiskPressure, and can't schedule any Pods anymore (all end up in Pending state). So, I checked what's wrong on the node, and it is constantly under DiskP...
Kubelet has a garbage collector and the purpose of it to remove unnecessary k8s objects for utilising resources. If the object does not belong to any owner it means its orphaned. There is a pattern in Kubernetes which is known as ownership in kubernetes . Whenever a node experiences Disk pressure , the Kubelet daemon w...
1
3
7,282
2020-11-30T09:32:12.583
pipeline_ops
serverfault.com
150,348
show variables command constantly running on user
I have a bit of an odd problem. I have a number of application user accounts. One account per application rather than one account per user. I have one application that seems to be hammering the systems resources. CPU usage is at 99% for MySQL from this single user. If I kill the application then usage for the server go...
For home-grown monitoring, you can do several things. I like the slowlog for finding which queries are resource hogs; it also provides some info to jumpstart figuring out what to do with them. A manual [CODE] is good if you can catch someone in the act. Cacti, Nagios, RRD, and several others will assist in continual mo...
0
0
34
2016-09-21T21:11:26.267
data_quality
dba.stackexchange.com
10,499
Collaborative filtering when multiple items are rated multiple times by same user
When trying to model as a recommendation problem the selection of an item that can be selected (and rated) by the same user many times, I can't find references of previous work. For example User1 can select item A (and rate it) then item A again (and give it a different rate) and then again item A can be selected n tim...
I don't think there is any academic work on the subject, at least that I know of. One simple way of using that data would be to use the mean of the ratings or other average like measures such as a moving average , a time weighted average , the median , etc. But this approach is probably not exactly what you're looking ...
1
1
696
2016-03-03T09:36:36.193
data_quality
datascience.stackexchange.com
335,948
SQL Server 2008 R2 Licensing
Possible Duplicate: Can you help me with my software licensing question? I want to add a named instance of SQL Server 2008 R2 on one of the server. Server already has 2 named instances on it. My question is, do I need to buy a SQL Server 2008 R2 license for this new instance or not? The server has SQL Server 2008 R2 (s...
Regardless what anyone here tells you, you need to contact a licensing specialist on this. The terms on licenses are so complex these days that unless you deal with licensing all the time you're bound to make a mistake.
0
2
108
2011-11-29T19:38:08.853
data_quality
serverfault.com
331,136
Is this enough/proper data to restore an Oracle database?
I was handed some data and was told it was a backup of an Oracle database created by RMAN and stored using Avamar. The owner would like access to the data. It is a folder named like a date, and it contains 26 files. Below is a partial list of the files. I can only assume the files are undamaged. Is this enough to resto...
Backups of all datafiles - it seems you have them All archived redo logs generated after the creation time of the oldest backup that you intend to restore - not needed for restoring an offline consistent backup, but this may be an inconsistent online backup, for which they may be included in your "EC700QSE_*" files At ...
0
1
85
2023-09-12T20:36:35.897
hadoop_errors
dba.stackexchange.com
236,758
MongoDB ReplicaSet instance re-join after Kubernetes POD restart
I have simple MongoDB deployment in Kubernetes with PersistentVolumeClaims. Roughly like this: [CODE] Once all the three replicas are ready, I initialize them with (please mind I don't use FQDN): [CODE] When one of the POD dies and re-creates, it usually doesn't join the replica back. It doesn't matter if accompanying ...
just to note the issue is still there using mongoDB 4.2.6 and as it is said in this post is only solved by providing a FQDN when configuring the ReplicaSet
3
2
2,019
2019-04-26T08:21:53.140
api_errors
dba.stackexchange.com
712,878
Delete old e-mails from a Maildir
I am currently trying to figure out how I can delete old e-mails in one folder of a Maildir installation on a Debian server. Basically what I want to do is to run a cron job every day or so that checks a specific folder in the Maildir for old e-mails and deletes them if they are older than a set amount of days. Is ther...
Since you have dovecot you can do that with doveadm(1). For example deleting mail saved in the Trash folder for user before 30 days: [CODE] You can use -A flag for all users and if you want to check first for the mails that match use the search/fetch commands - see doveadm-search(1): [CODE]
6
9
4,774
2015-08-09T11:59:45.327
infrastructure
serverfault.com
19,690
Database Exceptions with Jetty 8.1.0 with BTM
We are running Jetty 8.1.0 with BTM 2.1.2. We are using Postgres as our DB. Everything works great except that when we run any query with a condition where sometable's primary=null, the server loses its connection to the DB. The following is the exception we see: org.postgresql.util.PSQLException: ERROR: invalid input ...
It looks like the [CODE] in the [CODE] variable is single quoted, like [CODE] . In the context of SQL query nulls are going without quotation. This is how it should be: [CODE] And this is what you have: [CODE] So you either need to remove any quotation from the [CODE] variable or to use parameter binding with the datab...
5
1
492
2012-06-15T21:16:28.587
data_quality
dba.stackexchange.com
5,588
Is there a reason to use extremely abbreviated table names?
We're using a database setup from a vendor's application that has horrifically hard to read database table names, and no documentation on what is stored where. I can see why one might want to obfuscate their table structure in a proprietary app, but one of the selling points of this application (Enterprise Resource Pla...
Oracle has had a long standing limit on table names of 30 characters. I suspect this is a legacy issue based off an original 16 bit environment. The length of a table name could have some minuscule effect on performance as all the names have to be stored in a data dictionary and also parsed for queries but I don't thin...
23
24
12,693
2011-09-09T19:57:24.860
warehouse_errors
dba.stackexchange.com
25,977
Is paypal sandbox too flakey for Selenium Webdriver automation?
I am using webdriver JS, which runs on Node js. I just pulled an all-nighter (9 hours) trying all sorts of things to automate a paypal express checkout flow reliably (no flakyness). To do this, I use the paypal sandbox and literally run a test that automates a purchases and then interacts with the paypal popup window. ...
Your flakiness seems to be wait related. I would recommend explicitly waiting on every action to be sure an object exists and is ready before interacting with it. The iframe might require refocusing as well as sometimes it's not focused on and results in failures. If the waits don't get you what you want please provide...
2
1
1,730
2017-03-08T13:26:00.963
data_quality
sqa.stackexchange.com
827,652
Unable to access domain.com/phpmyadmin giving me 404 error
I hope you are fine. I installed for more than one year Vesta in my CentOS 7 everything is working fine, but a few days ago I cant access phpmyadmin. In the past, I just go to Vesta click on phpmyadmin and open the 1.2.3.4/phpmyadmin, but now when I click on that the ip 1.2.3.4/phpdomain is redirected to domain.com/php...
It looks like a RewriteRule or a redirect, so please look in your conf file under directive settings or in the .htaccess file or in the phpMyAdmin/config.inc.php for the value [CODE] I hope this helps
-1
0
500
2017-01-20T22:56:58.000
infrastructure
serverfault.com
58,042
How is SQL Server returning both a new value and old value during an UPDATE?
We've had issues, during high concurrency, of queries returning non-sensical results - results the violate the logic of the queries being issued. It took a while to reproduce the issue. I've managed to distil the reproducible problem down to a few handfuls of T-SQL. Note : The part of the live system having the issue i...
The default [CODE] transaction isolation level guarantees that your transaction will not read uncommitted data. It does not guarantee that any data you read will remain the same if you read it again (repeatable reads) or that new data will not appear (phantoms). These same considerations apply to multiple data accesses...
8
12
5,700
2014-02-01T02:50:39.207
database_errors
dba.stackexchange.com
85,734
What bandwidth would be required for 55 VOIP Lines And what type of Internet connection
In a call centre environment, what bandwidth would be required for 55 lines? This would be on SIP protocol, would we be best to use G729 codec as i know that our sip provider supports this? What type of internet connection would be best for such a task? Would SDSL 1:1 be sufficient (im in the UK)? Hoping someone with e...
A good rule of thumb comes from old telephony .. an phone T1 line 24 voice channels and a control channel. This equates to roughly 64Kb/s per phone line. This rule works (roughly) for uncompressed VoIP. There are various codecs that do compression .. the G729 should roughly triple that, so get 72 voice channels on a T1...
4
9
2,740
2009-11-17T23:06:33.423
infrastructure
serverfault.com
132,972
AppCmd returns error: Object 'SET' is not supported
I am trying to set SSL Host Headers and Secure Site Bindings in IIS7. I followed the directions on this website http://www.digicert.com/ssl-support/ssl-host-headers-iis-7.htm (among others), but when I run the appcmd command mentioned, I get the error "Object 'SET' is not supported. Run 'appcmd.exe /?' to display suppo...
You get the error "Object 'SET' is not supported" because the you are using appcmd site set. i.e. the "site and set" parameters are the wrong way around. The following command should work: [CODE] Also, to modify and existing host header you are do: [CODE] AppCmd.exe is located in the %systemroot%\system32\inetsrv\ dire...
3
3
3,379
2010-04-16T04:32:50.450
infrastructure
serverfault.com