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,128,218 | Unable to change "on host maintenance" option for an instance template on GCP | I've been using instance templates for Instance Groups, and I never had to go to "Advanced Options" because everything was working as expected. But today, while creating a new instance group with a template it started throwing the following error: [CODE] which upon searching, I got to know that was [CODE] option was se... | I had the same problem. I solved it by setting up the VM in google console and display the corresponding code, copied it to a command line, changed [CODE] to [CODE] , and created the VM from the command line. | 0 | 0 | 196 | 2023-04-08T19:05:09.460 | infrastructure | serverfault.com | |
112,704 | Transformers - Why Self Attention calculate dot product of q and k from of same word? | As far as I understand and looked into Attention Is All You Need and Transformer model for language understanding , the Self Attention at Scaled Dot-Product Attention is calculating $query$ and $key$ of the same word, which is the diagonal of the matrix in the diagram. The $q \cdot k$ of the same word will generate the... | It is not necessarily the case. The matrics $K$ and $Q$ can be very different. The intuition is that these two projections allow the model to search for a particular piece of information in the hidden states. From that perspective, there is no need to exclude the query state. If you look at analyses of what the attenti... | 0 | 1 | 441 | 2022-07-16T08:59:33.777 | data_quality | datascience.stackexchange.com | |
62,066 | Efficiently storing irregular/repeating intervals (think calendar/events) | I am developing a service that relies on users being able to recieve messages that they themselves choose. These messages need to be stored somewhere before they are send for processing. Right now I'm storing them in a postgres database, but I have a feeling it doesn't scale well. The current layout is: [CODE] The DATE... | Always look for standards that support your requirements. What is a standard that supports recurring calendar events? ICalendar RRULEs: http://en.wikipedia.org/wiki/ICalendar http://www.kanzaki.com/docs/ical/rrule.html You can either store the rule as plain text and parse it as needed, or use a database schema for them... | 11 | 16 | 21,398 | 2014-03-29T19:40:45.540 | database_errors | dba.stackexchange.com | |
20,100 | SQL Server 2008R2 - Why is my index not used | I have a table defined in the following way: [CODE] And an index created like that: [CODE] And I run the following query: [CODE] The goal behind this is to get COLUMN_WITH_DATA vaule of first not yet used record, and then update its' COLUMN_A and COLUMN_B with not null values, to mark it as consumed. I have a couple of... | I like providing direct answers to questions; however, this topic can go deeper and longer, therefore I am adding a few articles at the bottom that expand on these details for all to learn from. In summary ... A few things that can affect using an index (mind you there are a lot of reasons too as you'll see in the arti... | 5 | 6 | 12,875 | 2012-06-28T12:27:57.887 | database_errors | dba.stackexchange.com | |
1,134,627 | podman/docker cannot reach exposed ports | We recently upgraded our infrastructure to the new Strato KVM VPS. After we had set up our dockerized services we noticed that none of our services are reachable through their defined ports. Neither from localhost nor from external. This happens with both podman and docker. Our images are working correctly. If we use t... | After a long conversation with Strato, they admitted that, as stated in the more or less hidden FAQ, the VPS do not fully support Docker. The label "docker ready" only means that Docker could partially work. Docker works fine a slong as you use the [CODE] flag. | 0 | 1 | 793 | 2023-06-23T08:07:09.303 | pipeline_ops | serverfault.com | |
214,966 | Debugging Internal Emails with Exchange 2003/2010 | I am in the middle of migrating from Exchange 2003 to Exchange 2010 SP1. I have moved one mailbox over to the new server EXCHANGE2010 . For some reason if an internal email is sent from someone on EXCHANGE2003 (the old server), it is not delivered to the new mailbox on EXCHANGE2010. Where should I look to debug this pr... | I found it! You need to create a routing group between the old and the new server: http://technet.microsoft.com/en-us/library/aa997292.aspx This example creates reciprocal routing group connectors between the Exchange 2010 routing group and the routing group associated with the specified Exchange 2003 server, assigns a... | 0 | 1 | 1,731 | 2010-12-21T19:16:45.937 | infrastructure | serverfault.com | |
310,535 | Creating AlwaysOn Availiability Group & Listener not showing on second node with T-SQL? | I have followed this guide and stole some of T-SQL code to edit into my own and this is what I have got: [CODE] Now the problem is, it's not pushing this to the secondary node and I can't figure out why. It creates the AlwaysOn AG and listener on SQLCLUSTER01 perfectly fine, but not on SQLCLUSTER02. I have gone through... | Now the problem is, it's not pushing this to the secondary node and I can't figure out why. It creates the AlwaysOn AG and listener on SQLCLUSTER01 perfectly fine, but not on SQLCLUSTER02. You're creating the AG on the primary but I don't see anywhere that you've joined the secondary replica. If the secondary replica i... | 0 | 0 | 92 | 2022-04-04T18:04:31.547 | database_errors | dba.stackexchange.com | |
131,649 | DB2 LUW tools for diagnosing issues when the stuff hits the fan | I am no DBA and very much a novice when it comes to DB2 so even 'obvious' answers are welcome to this question: I love db2top but sometimes I cannot get it to run if the load average is high on a db2 LUW. This morning I was looking at an issue where load average shot up suddenly, I could not get db2top to come up and I... | I am not a DB2 guy either. But my goodle fu is strong. Searching for [CODE] Finds TONS of great data, including one that looks like exactly what you want, a well written tutorial on how to learn: http://www.dbisoftware.com/blog/db2_performance.php?id=122 They also sell some crazily overpriced software that does the sam... | 0 | 1 | 965 | 2010-04-12T16:41:16.970 | infrastructure | serverfault.com | |
373,266 | Htaccess strange behaviour with Nginx | I have a site running on Nginx (v1.0.14) serving as reverse proxy which proxies requests to Apache (v2.2.19). So Nginx runs on port 80, Apache is on 8080. Overall site works fine except that i cannot block access to certain directories with .htaccess file. For example i have 'my-protected-directory' on 'www.site.com' I... | I have managed to resolve this issue. The problem was in Rpaf module which under some condition works incorrectly. By 'conditions' i mean Apache version and OS. (Mine was Apache 2.2 on CentOS) Anyway, to fix this you should disable rpaf module and install it's patched version from here: mod_realip2 Installation is clea... | 2 | 1 | 1,546 | 2012-03-25T22:39:57.123 | infrastructure | serverfault.com | |
146,074 | MS SQL Server installation fails with error message | I am trying to install SQL Server (tried all 2012 Developer edition, Web edition, Standard edition, Express and also tried all 2014 versions). Each time it is failing with the following error message [CODE] | There is an entire directory of logging done by the installer. If you are getting this from the graphical popup try looking in the \Setup Bootstrap folder under your installation of Sql Server. This is created whether it succeeds or not. The path is something like so... C:\Program Files\Microsoft SQL Server\110\Setup B... | 0 | 1 | 1,993 | 2016-08-06T15:23:51.393 | database_errors | dba.stackexchange.com | |
239,909 | Can OpenNMS show me all currently exceeded thresholds? | OpenNMS's main dashboard is fantastic, showing all current outages, updated continuously. I'm also using OpenNMS to monitor thresholds - for example, to get notified whenever a disk is more than 90% full. However, I can't find any way to view all outstanding exceeded thresholds the same way I can view outstanding outag... | It seems other people have had the same itch to scratch: OpenNMS Enhancement request , and subsequent blog post about it . I haven't installed this, so can't comment on how easy it is to add to the current 1.8 branch. | 2 | 1 | 1,322 | 2011-02-24T19:46:01.900 | bi_errors | serverfault.com | |
1,787 | SQL 2008 R2 3rd Party Peer-to-Peer Replication, Global Site Distribution | We are looking at hosting 3 globally distributed SQL Server installations at different data centers. The intent is that Site A will serve web traffic and data for a specific region, same with Site B and C. In the case that Site A data center goes down, looses connectivity, etc. the users of Site A users will fail over ... | What you are describing would be either peer to peer replication, or merge replication. Peer to peer is masterless, while merge replication has a master, however you can use mirroring on the publisher and mirror the publisher to another data center so that if the publisher goes offline the workload can fail over to ano... | 2 | 1 | 1,512 | 2011-03-17T15:14:00.473 | database_errors | dba.stackexchange.com | |
68,573 | Generate a productive environment when developers have different opinions | My question is simple. I'm a developer and work with another developer who's been here for many more years than I have. He has his opinion about implementing stuff; he's more of a do it yourself kind of person. I'm more of a let's not re-invent the wheel kind of person. Recently for example we had a big discussion abou... | Your boss needs to ultimately make the decision. If your boss makes the decision, then you'll have an environment that is more productive than the two of you pulling in different directions. Try to make your case to your boss by presenting evidence like articles and case studies that are similar to your situation. Invi... | 2 | 6 | 500 | 2011-04-15T13:25:10.503 | api_errors | softwareengineering.stackexchange.com | |
292,853 | Unable to connect to remoteJMX but able to Telnet on same port after setting Dcom.sun.management.jmxremote environment variables? | I am rather perplexed at this point as we have a need to connect through remotejxm to monitor the JDK on a server through a monitoring application but I am repeatedly being told when trying to connect that it is not running. We have checked the ports and the 8999 port is open but its not letting me connect through remo... | We ran into a similar issue and it ended up being firewall related because JMX RMI actually uses two ports, one you specify and one bound by the server at random. From: http://blogs.oracle.com/jmxetc/entry/connecting_through_firewall_using_jmx As you may already know if you have been confronted with this problem, the J... | 2 | 1 | 2,730 | 2011-07-21T22:22:43.360 | pipeline_ops | serverfault.com | |
968,011 | Wordpress file upload succeeds under nginx but attempting to load the file returns 403 | I've been trying to debug this for the last few hours and, having solved so many issues already, I seem to have hit a brick wall I have a Wordpress install using nginx under CentOS7 (AWS Lightsail if that matters). For this I have ensured [CODE] directory is 766 the directory owned by [CODE] and both nginx and php-fpm ... | Fix the permissions. 766 is not a valid mode for a directory, at least not if you want to access the files within it. | 1 | 1 | 375 | 2019-05-19T23:50:22.073 | api_errors | serverfault.com | |
15,147 | How do I give a domain user permission to start and stop a Tomcat service? | I realize this is almost identical to this question but the big difference is that the methods described in the MSKB article DO NOT WORK for installed Tomcat services. They work for simple Windows services but not for the Tomcat services we need to control. Any further ideas? Edit (details): If I have 100 Tomcat contai... | I'm not sure what you've tried to do before, but here's what I just did and had success: 1) Downloaded the Tomcat 5.5.27 Windows Service installer and installed it. 2) Dumped the TomCat5 service security descriptor using "sc sdshow tomcat5", which showed me: [CODE] This is a pretty common security descriptor for servic... | 7 | 7 | 16,307 | 2009-05-29T20:57:18.000 | pipeline_ops | serverfault.com | |
892,867 | NFS: UDP works, TCP times out, CentOS 6.9 fresh install | On a fresh install of CentOS 6.9 with all updates, i can mount NFS with UDP protocol and run [CODE] , the answer is "program 100003 version 3 ready and waiting". I can mount any NFS export over UDP without any problem. However, when it comes to TCP, any mount attempt hangs 3 min then times out. Same for [CODE] . I have... | I'm going to answer to myself. Our CentOS host and our NetApp server were not the problem. We have an HP switch (HP1820-48G J9981A) with a security protection against invalid TCP flags attacks. I don't have time to further analyze my captures right now, so I still don't know what exactly is triggering this protection. ... | 1 | 2 | 1,374 | 2018-01-18T14:49:42.393 | infrastructure | serverfault.com | |
851,490 | Mobile sent emails don't get added disclaimer | my company wanted to have a footer added to all emails based on sender's address. We have successfully implemented it based on this article https://www.howtoforge.com/how-to-automatically-add-a-disclaimer-to-outgoing-emails-with-altermime-postfix-on-debian-squeeze . Key master.cf lines are: [CODE] It works when we send... | The real problem is that mobile emails came encoded in base 64 and altermime didn't decode b64 messages. So we added a disclaimer-b64 argument and voilá: [CODE] That's all! This solution was found by (David, waiting for his personal details to give him a really deserved credit) | 1 | 1 | 817 | 2017-05-22T08:18:30.893 | infrastructure | serverfault.com | |
851,147 | Monitor the Garbage Collector of an SSD | The SSD controller triggers the garbage collection routines on a specific ship or block when a certain threshold of either invalid pages or written pages is met, based on the GC policy (my guess is that most SSDs use the greedy policy). I am trying to measure the impact of some workloads on a specific SSD, I've already... | No, what you are asking is basically the "secret sauce" of your SSD controller firmware. SSD vendors treat the internal controller routines, and their implementation, as a trade secret. You can only guess at what is happening by triggering a specific load and carefully examine the results. | 4 | 3 | 942 | 2017-05-19T14:12:05.837 | infrastructure | serverfault.com | |
94,375 | Custom POS tagger for health issues | I am new to NLP, I have a bunch of raw data that is not tagged at all of medical questions, I need to extract from them what are the health issues stated in those texts. I was thinking I need to create two custom POS tags for NER: -the location on the body -the problem itself So if someone asked 'my head hurts' it woul... | A few comments: The term "POS" (Part Of Speech) has the specific meaning of "grammatical category" so it's not really what you mean here, you should probably say "custom entities tags/categories/labels". Your plan makes sense, but be aware that that you're addressing a really difficult problem so even with a really goo... | 0 | 1 | 98 | 2021-05-12T22:23:53.083 | data_quality | datascience.stackexchange.com | |
2,874 | docker as slave for jenkins | I have installed Jenkins and docker on the same machine Ubuntu. Ubuntu 17.10 Jenkins ver. 2.73.3 Docker version 17.09.0-ce. I am trying to set up jenkins docker containers as slaves for running my automation test suite. I was able to correctly setup the docker plugin in Jenkins for spinning up docker containers and add... | Sounds like the docker image you are using doesn't have the correct name, or is stored in a private repository which requires login. Please post more information | 3 | 1 | 2,411 | 2017-12-12T06:18:46.363 | pipeline_ops | devops.stackexchange.com | |
819,226 | Is there a directory equivalent of /dev/null in Linux? | When configuring an application, you can often use [CODE] as config file if you want the application to read an empty file. But, if the application reads a list of files from a directory, you cannot use this trick. You would need to give it an empty directory to read. I was wondering: does Linux have a default empty di... | The FHS provides no "standard" empty directory. It is common for Linux systems to provide a directory [CODE] , but this directory is not defined in FHS and may not actually be empty. Instead, certain daemons will create their own empty directories in here. For instance, openssh uses the empty directory [CODE] for privi... | 101 | 74 | 30,122 | 2016-12-07T09:04:38.063 | infrastructure | serverfault.com | |
842,380 | Nginx Rewrite Rules Are Messing Up Images | Wondering if anyone with some nginx experience could help me out with a rewrite rule issue I'm having. I want to remove .html and trailing slashes from my URLs, so I put the following code in the server { } block in the nginx conf.d file: [CODE] This works great, but it's broken the images on my site. I have them in a ... | There are a few different ways to go about removing the .html extension. One of them is. [CODE] we have to make sure Nginx knows what files to look for, basically all files with .html extension even index files, eg index.html So final code will be something like this. [CODE] | 0 | 0 | 843 | 2017-04-04T02:28:42.193 | infrastructure | serverfault.com | |
455,649 | How to access remote lan machines through a ipsec / xl2ptd vpn (maybe iptables related) | I’m trying to do the setup of a IPSEC / XL2TPD VPN for our office, and I’m having some problems accessing the remote local machines after connecting to the VPN. I can connect, and I can browse Internet sites trough the VPN, but as said, I’m unable to connect or even ping the local ones. My Network setup is something li... | You are very likely having the exact same issue as this post Your situation is as follow: VPN client can reach VPN server and tunnel through VPN to the internet, but cannot reach server LAN nor any other VPN clients ip. Tunneling to the internet work because you have iptables NAT rule. The rest you need to apply the fo... | 1 | 0 | 8,345 | 2012-12-06T11:51:22.990 | infrastructure | serverfault.com | |
10,696 | Bare-Metal Kubernetes storage in enterprise | Problem in a nutshell What kind of storage for dynamic provisioning in a bare-metal kubernetes should i use. Our configuration Each of our kubernetes nodes (worker and master) are running on VMs. The VMs themselves run on a VCenter on top of an Hyperconverged architecture So far the cluster have no persistent storage c... | A storage solution for kubernetes is a pain for those of us who chose to run kubernetes on premises. What storage solution one picks would certainly depend on potential usage, a solution that will perform well for simple file operations would not pan out very well if you want to run a database in kubernetes. Given your... | 0 | 1 | 159 | 2020-02-03T16:20:33.820 | hadoop_errors | devops.stackexchange.com | |
310,932 | Azure MI - clustered and nonclustered indexes with the same columns - different execution plans | I have a problem to understand why I am getting 2 different execution plans based on whether clustered index is involved or not. It's happening in Azure managed instance, I have no possibility to test it on-prem. The table with its clustered index goes as follows (it has approx 30+ additonal columns but I omitted those... | Why are you forcing the index it uses with an index hint instead of letting the optimizer decide that for itself? When you force it to use the clustered index, it appears to be hitting the tipping point where it thinks a scan will be more efficient. My guess is this is because your clustered index key definition is not... | 1 | 0 | 46 | 2022-04-13T18:00:05.173 | database_errors | dba.stackexchange.com | |
256,485 | Oracle 19c cannot create master key | I cannot create master key in oracle 19c... I set parameter in sqlnet.ora like as: [CODE] Also set parameter TDE_CONFIGURATION: [CODE] After I restart oracle and performed following commands: [CODE] [CODE] [CODE] And tried to create master key: [CODE] And I always get following error: [CODE] Do you know, how I resolve ... | So what instructions did you follow? Below is an example with your commands, where I did not use [CODE] at all, because it is optional in 19c: [CODE] | 1 | 0 | 7,091 | 2019-12-30T14:11:27.943 | database_errors | dba.stackexchange.com | |
901,327 | AWS Load Balancer times out | I created a classic loadbalancer on AWS with two EC2 instances running a simple flask application. The security group on the ELB is set to allow all inbound/outbound. The security groups for the EC2 instances are set to HTTP 0.0.0.0/0 port 5000. The health of instances is good - I can see that in the ELB dashboard and ... | Check your ELB's security group that it's allowing 0.0.0.0/0 to access port 80. You say 'set to default' but by default there are no inbound rules on a security group. | 0 | 2 | 1,935 | 2018-03-13T03:48:20.593 | bi_errors | serverfault.com | |
183,196 | Dyndns doesn't resolve ip when requested from the ip in question | I have setup dyndns to point to a home server, My ip resovles from dyndns just fine from any ip except when I'm at home. So basically I cannot access my dyndns urls at home. I can access the server in question using a local ip, but would rather solve whatever issue is causing this. Thanks! | Sounds like your NAT box does not do NAT reflection, I call these br0ken. If your NAT setup does not change the port, you can use the [CODE] file to point the dyndns address to your internal ip on your home PC. | 1 | 1 | 401 | 2010-09-21T14:57:43.860 | infrastructure | serverfault.com | |
706,188 | PgBouncer not listening with no errors in logs | I currently have Postgres working on my server want to move to connection pooling. Looking around and PgBouncer seems to be the tool of choice. I have set it up and it claims to start fine with the log file looking like [CODE] And user list: [CODE] which starts without any errors. Log file: [CODE] When I bring up [CODE... | Sounds like a permissions issue on /tmp/.s.PGSQL.6434 if it occurs on restart. Make sure you're restarting as the same user or su - pgbounceruser -c "/usr/bin/pgbouncer -R -d /etc/pgbouncer/pgbouncer.ini" to have it take new settings. | 0 | 1 | 1,942 | 2015-07-16T11:02:02.340 | database_errors | serverfault.com | |
1,000,069 | GitLab docker registry reject push with error 500 | Summary I have self-hosted gitlab, installed with apt. I don't have [CODE] in default location (see config). I can't push docker image into docker registry, directory [CODE] does not exists. No migrations, no backup/restore procedure, last version. Problem to solve GitLab reject Docker image push from remote location w... | Who is the owner of your registry directory? Try changing the owner to "registry". I had a similar problem and changed the owner of "/var/opt/gitlab/gitlab-rails/shared/registry/docker/registry/" from "git" to "registry" | 1 | 1 | 4,862 | 2020-01-23T09:42:44.113 | pipeline_ops | serverfault.com | |
151,087 | bind9 named.conf zones size limit | I am trying to set up a test environment on my local machine, and I am trying to start a DNS daemon that loads tha configuration from a named.conf.custom file. As long as the size of that file is like 3-4 zones, the bind9 daemon loads fine, but when i enter the config file i need (like 10000 lines long), bind can't sta... | I am not aware of any limits specific to BIND (I run a number of DNS servers on BIND with conf files that contain many thousands of zones). From the error it looks like a semicolon might be missing somewhere in front of a subsequent zone statement (or some other minor formatting error that is breaking the configuration... | 2 | 1 | 3,921 | 2010-06-14T15:09:11.430 | infrastructure | serverfault.com | |
1,025,619 | varnish redirecting to backend url | Im running Magento in 192.169.1.250 (no ssl) URL - http://192.168.1.250:80 and varnish + nginx (ssl offloading) in 192.168.1.9 frontend URL - https://192.168.1.9:80 varnish 127.0.0.1:6081 Used the default varnish default.vcl file generated by Magento backoffice no changes in Magento Nginx config too. But when I access ... | Lol problem fixed it the Magento which is redirecting changed settings in BackOffice - auto-redirect base URL to no. this fixed the 302 redirect enter image description here | 0 | 0 | 798 | 2020-07-17T11:27:01.170 | infrastructure | serverfault.com | |
47,757 | Unable to create a Group Policy in Windows Server 2003 to install software | This is my first attempt at creating a Group Policy to install a software product for computers on our domain. When I attempt to add a package I receive the following error: Add operation failed. Unable to extract deployment information from the package. Run validation on the package to ensure that the package is corre... | That's bad mojo, then. That's nothing that you're doing w/ your procedure, but rather something wrong with the MSI. Did you build the MSI yourself or is it 3rd party? If it's third party, does the manufacturer indicate the MSI works in this type of deployment scenario? I can't tell you which specific validations you sh... | 1 | 1 | 3,666 | 2009-07-29T20:41:27.673 | data_quality | serverfault.com | |
28,632 | Issues locating start/end times with protractor | I am having issues locating the text of start and end times on our web application using page objects. Below is the code, the only thing that will change is the time (in between [CODE] and [CODE] ). How can I locate the class in the page object? [CODE] | Taking into account the given HTML, relying on a [CODE] class should work: [CODE] | 0 | 1 | 86 | 2017-07-17T21:52:20.790 | data_quality | sqa.stackexchange.com | |
372,691 | How to handle "Other" option in a list of options? | This is almost everywhere. For example, I need to pick a fruit from a list of fruits from a dropdown. And the last option on that dropdown is "Other", by selecting that another text field appears to allow users to type their favorite food. Assuming all the data comes from database, what would be the best way to impleme... | Checking for "Other" will work just fine ... right up until you decide you want to express it differently or you want to support a language other than English. It's a fragile solution: it's quick and easy to implement but it'll break all too easily. Storing an ID in the UI likewise is fairly easy to do. But it couples ... | -1 | 0 | 221 | 2018-06-18T07:28:11.677 | api_errors | softwareengineering.stackexchange.com | |
377,553 | Event Sourcing CQRS and request events ending at Requested | In ES/CQRS, do/can we treat requests as events? Consider the following flow A guest visited some url and posted data to create a new account. Here is one way to implement it [CODE] Martin Fowler clearly states that we persist domain events when state is changed. Now if we consider CreateNewUserRequestedEvent, it is jus... | In CQRS+ES there are domain events representing facts that are persisted instead of the flat state and commands that express the intent to do something that will result in zero or more facts. That being said, there is a difference between domain events, commands and infrastructure messages (like your "RequestEvent") in... | 2 | 2 | 400 | 2018-08-28T03:20:57.193 | api_errors | softwareengineering.stackexchange.com | |
78,341 | What is the intuition behind decreasing the slope when using regularization? | While training a logistic regression model, using regularization can help distribute weights and avoid reliance on some particular weight, making the model more robust. Eg: suppose my input vector is 4 dimensional. The input values are [1,1,1,1]. The output can be 1 if my weight matrix has values [1,0,0,0] or [0.25,0.2... | There are a lot of misconceptions on this topic. (satinder singh) Why reducing the slope only provides better performance, is increasing the slope also an alternative? Reducing the weight does not lead to better performance. In the limit for infinite regularization your resulting model will be a constant (if your weigh... | 2 | 1 | 372 | 2020-07-26T16:08:05.493 | data_quality | datascience.stackexchange.com | |
214,015 | FaxCOmExlib and IIS 7 | I have a small web service, which should send faxes. The code for this web service is working fine when it is not in the wwwroot folder. However, once I add this service to the IIS, I always get FaxDocument exception when I call that service. I think the problem is in the permissions somewhere. Can anyone suggest how c... | I don't think I'm familiar with this exception, but there is a page documenting commmon FAXCOMEXLib problems and solutions by InterFax: http://www.interfax.net/en/dev/faxcomexlib This page assembles solutions from major technical Web fourms and includes links to the discussions). It might include some info that will he... | 0 | 0 | 224 | 2010-12-18T18:43:04.023 | airflow_errors | serverfault.com | |
193,941 | Renewing kerberos ticket without user intervention | We have found the most excellent program that that will allow our OSX machines to print through our Windows Print servers. (ksmbprint from http://deploystudio.com/ ) The program allows for smb printing with to the servers through kerberos authentication - taking away the need to constantly put in the AD username and pa... | [CODE] seems to do the trick for me. I'm tempted to suggest just having a LaunchAgent that runs this command with a StartInterval of, say, 7200 seconds (2 hrs); you could get fancier (e.g. testing network connectivity first, adjusting the retry frequency as your TGT gets closer to expiring, etc), but I think you'd most... | 7 | 2 | 24,563 | 2010-10-22T02:04:19.403 | api_errors | serverfault.com | |
716,138 | IIS Load Balance with 2 servers | I have two servers that I would like to use to load balance an application. Ideally, but not a requirement, I could load balance based on URL. But based on my research, that is not something that is done much. My plan was to use CloudFlare's dns services for failover. More importantly that high availability, is the per... | You can use Microsoft Network Load Balancing . It requires only two servers. | 2 | 1 | 6,893 | 2015-08-23T17:04:21.263 | database_errors | serverfault.com | |
335,592 | Why can't openSSL verify google's certificate? | When I run the command [CODE] from a Debian VM, I get the following within the output: Verify return code: 20 (unable to get local issuer certificate) What's going on here? I've never had a cert problem with Google, so it's gotta be something with Debian or it's openSSL library. Debugging other SSL systems is harder wh... | On another Linux distribution I use, the naked [CODE] verb doesn't actually import the root CA packages installed on the system. To get that, you need to add [CODE] , where the path is the location of the root CA certificate bundles. Without CAPath: [CODE] With CAPath: [CODE] | 4 | 10 | 2,146 | 2011-11-28T21:43:41.460 | infrastructure | serverfault.com | |
366,289 | understanding video streaming on a servlet or webserver | This question has been asked quite a few times on StackOverflow and I would like to get an understanding of the concepts and process rather than directly solve a problem. I found the following post where the explanation was nicely detailed but have some follow up questions which I hope someone can elaborate on. video s... | The client and server share responsibility if you're using HTTP requests for partial content: Whenever the client sends a partial GET request with a Range request header to the server, then server should intercept on the conditional GET request headers (all headers starting with If) and handle accordingly. Whenever the... | 1 | 1 | 2,205 | 2018-02-21T07:33:05.637 | pipeline_ops | softwareengineering.stackexchange.com | |
254,278 | Estimating aws postgres delete activity rate | I have a table organized by date. Of the 84M rows, 26M all hit on one date. I want to delete that date. There is an index on the date field. I started a [CODE] yesterday. It has been running for nearly 24 hours. AWS shows me a steady read iops of ~3k Write spikes to 10 every 5 minutes but is otherwise at 0 CPU is loite... | Newer versions of PostgreSQL have some facility for monitoring progress, but those don't cover DELETE operations. So that kind of leaves you on your own. Since this is plain PostgreSQL, you can login into a shell, use "top" to get the process id of the process doing the DELETE, and strace that process with something li... | -2 | 0 | 86 | 2019-11-27T19:32:36.653 | database_errors | dba.stackexchange.com | |
190,376 | Hyper-v, missing .vhd file after reboot | After a (patch and) reboot, I got an error message reading something about corrupt recycle-bin for e:\ (where I store my virtual machines). Two of the virtual machines could not be started. On the first of them, it seems permissions had been changed - after using icacls I got it up and running. The second however has a... | I'm going to get to your answer, but first I want to make sure you do 2 things in the future: Use RAID. It's not a backup, but the redundancy helps. This could have been caused by a bad hard drive or bad sectors on the drive. A RAID array would have avoided this downtime Use and UPS. If the power gets cut on the server... | 0 | 1 | 2,298 | 2010-10-13T06:48:55.477 | database_errors | serverfault.com | |
750,886 | Windows RODC/DMZ connection to trusted AD issue | I have a really strange scenario...We have a server within a DMZ, which uses an RODC (Read-Only Domain Controller) for user authentication. The users are in a trusted 3rd domain, something like this: DMZserver -> RODC -> InternalDC -> TrustedDC -> User This is all to allow us to RDP/login to the DMZserver. It works cur... | So we seem to have discovered a workaround for the issue at hand. So we pre-populated and replicated the account details and passwords from the Internal Read/Write domain controller to our ReadOnlyDomainController (RODC) within the DMZ sites. Once we had replicated/cached the computer details over to the RODC, this all... | 1 | 1 | 1,720 | 2016-01-21T21:14:47.183 | database_errors | serverfault.com | |
316,446 | Algorithm to create all unique sets of the alphabet using arbitrary group sizes | I'm looking for an algorithm to help me out with a combination of combinations problem. I have generated two lists of combinations of letters: (26 choose 6) & (26 choose 5) My goal is to be able to generate all sets of the alphabet in four groupings of 5 and one grouping of 6. For example: [CODE] or [CODE] I wrote a si... | First, I'd start with a combinations generator. Mine (shown below) is an iterator that you initialize with the number of total items to choose from (up to 64, e.g. 26), and the combination size you want (e.g. 6). It is written in C# and uses bit positions in a ulong to indicate selections. On to the larger algorithm: I... | 1 | 2 | 1,219 | 2016-04-21T20:56:59.353 | data_quality | softwareengineering.stackexchange.com | |
524,148 | How do I find the root cause of Memory pressure failure on an SQL server 2008? | One of the servers I have been performance monitoring started throwing the following warnings from the Resource-Exhaustion-Detector: Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: sqlservr.exe (1560) consumed 14960812032 bytes, ReportingServicesSe... | To properly diagnose this, we need more information. SQL server is like any other Windows process; it's virtual address space can be far larger than physical RAM. It can even be larger than RAM + paging files, if any part of it uses memory mapped files. The tuning parameter in SQL server is a way to tell it to never us... | 3 | 1 | 13,635 | 2013-07-17T18:51:55.843 | database_errors | serverfault.com | |
320,956 | Forcing Dovecot to use SSL | I set up a mail server on an Ubuntu 11.04 distribution using the dovecot-postfix package. [CODE] For some reason, I can't seem to disable non-SSL access through dovcecot. I have made the following edits to the configuration file in an attempt to accomplish this. /etc/dovecot/dovecot.conf [CODE] A telnet connection to p... | You should be able to establish TLS connections, which connect on Port 143 and start in plain text, even though SSL is "required". If you want to disable TLS (which is more advanced than SSL) you'll need to rewrite the software or block the port (there might also be a way to disable to port, though I can't remember). | 6 | 5 | 2,948 | 2011-10-12T20:02:20.877 | infrastructure | serverfault.com | |
597,235 | nginx tries to use named location as real file path? | I'm trying to [CODE] to an Apache2 instance using a named location, but Nginx tries to find the named location on disk? Nginx Config: [CODE] Trying to access a file that doesn't exist should proxy_pass, but instead fails with a 404 and the log shows: [CODE] It's a named location, so why is it trying to read it as a fil... | The named location needs to appear last in [CODE] . You should not have anything past it (and indeed, it would never be reached anyway). [CODE] | 0 | 1 | 875 | 2014-05-20T14:15:26.473 | infrastructure | serverfault.com | |
84,879 | pytorch __init__() got an unexpected keyword argument 'train' | I'm using this code in colab. the function below gives me an error when intanciar. [CODE] error [CODE] | The error implies that it couldn't recognize the train parameter, in the ImageFolder class. ImageFolder() does not have a parameter train , remove that it will fix the error. Instead of... [CODE] ...you should have... [CODE] For more check the documentation . | 1 | 1 | 7,706 | 2020-11-03T05:17:36.633 | data_quality | datascience.stackexchange.com | |
138,343 | Installing a new SQL Server instance fails | I've previously in my setup installed SQL Server Express 2005. Now I've switched to SQL Server Express 2008. I updated the command line parameters to those documented for the latter. If the comp already has SQL Server Express 2008 installed, my installer should create a new instance. The command line parameters are as ... | if you run Setup interactively with the /FEATURES flag set, the installer will still give precedence to the command line parameters over what you select in the wizard. Also - if an instance by the name of ABCD already exists on the server, you need to remove that instance before your script will work. You are telling i... | 1 | 1 | 3,385 | 2010-05-04T12:16:14.133 | data_quality | serverfault.com | |
987,061 | nginx proxying S3 public bucket hosted by minio service | I'm trying to do what I would have thought was the easiest proxy directive in the world, proxying a public S3 bucket. This is my config: [CODE] What actually happens when fetching a page that does not exist in the bucket I get something like this from nginx: [CODE] I've tried various variants of this but always get sim... | [CODE] Apparently ordering matters somewhat. | 0 | 0 | 2,607 | 2019-10-07T14:39:04.190 | infrastructure | serverfault.com | |
199,395 | Create/Update Test Database duplicated timely from Production database on same server | I want to create a test environment database that is refreshed from the production database every month or as needed (they would both be on the same server). It would not just be data refreshing because if I make changes to the schema I would like that to be updated as well. What would be the best way? I have tried som... | Here is a very quick TSQL prototype that you could put into a SQL Agent job [CODE] | 0 | 1 | 319 | 2018-03-05T15:25:53.103 | data_quality | dba.stackexchange.com | |
32,625 | Linux kernel crash dump analysis: Guidelines | Note: 2.6+ Kernel Or older 2.4 Question: Generic suggested guidelines with regards to Linux kernel crash dump analysis Skills required, i.e. Kernel compilation skills etc Suggestions: Detailed walk-through , of the Red Hat Crash Utility Usage of Kdump | For basic crash dump analysis no particular skills are needed. If you can follow the instructions and open a dump with crash then you can do some basic diagnostics without any in depth knowledge of the kernel. However, for anything beyond the basics you're going to need to know how to debug code using gdb, develop a go... | 7 | 6 | 2,693 | 2009-06-27T11:15:35.027 | infrastructure | serverfault.com | |
328,632 | Can I do distributed stress testing on Amazon rds oracle database? | We have an onpremise production database . We are planning to move it to cloud. What types of Performance testing can be done ? Is it okay to start with stress testing first? Shall I start with load testing and then do stress testing? Can I do distributed testing for both load and stress test? I am looking for a right ... | If you have load tests for existing on-premise database it worth starting with them against cloud deployment first, this way you will know if the RDS instance can handle the same load as the on-premise. If you don't plan onboarding new data/users/integrations and the results will be more or less the same you can stop t... | 0 | 0 | 36 | 2023-06-26T02:56:55.600 | database_errors | dba.stackexchange.com | |
246,455 | Scalable Job Handler | We have a job table that triggers a notification when a new job gets inserted. Clients that can handle such jobs may subscribe to those notifications. When a client receives a notification, he can "lock" the job, so no other client will try to process it. We have also take care of errors and if a job takes to long to p... | This is the problem closely related to the job scheduling . But there are two issues you have to consider: 1) Your clients are free to choose any job they want. They know when new jobs arrive and can pick any one they want. If you really want to control what they do you should really limit what they can know and reserv... | 3 | 2 | 338 | 2014-06-30T13:02:55.497 | api_errors | softwareengineering.stackexchange.com | |
304,438 | Could this class be considered as a Factory class? | I've recently worked on a reusable network service class for a service-aggregator iOS app. This class should retry a failed request if it was caused by expired user token. Plus, this class will be used between multiple contractors, who will create the aggregated services. Since the contractors might use different authe... | There is no clear answer to your question, because the definition of a factory is not cast in stone. Many people consider a factory to be anything that creates something for you so that you don't have to [CODE] it yourself. This is dumb in my opinion, but who am I to say that your factories are not true factories ? The... | 0 | 1 | 220 | 2015-12-07T07:48:33.420 | api_errors | softwareengineering.stackexchange.com | |
100,007 | Problem sending mail “Client host rejected: Sorry, no xDSL here” | I'm trying to use SMTP on localhost to send emails thru a simple mailform in asp.net c#. For some reason all emails end up on the badmail folder. The .BAD file says: [CODE] Anybody got any clue? Edit: Okay, so my DSL connection is causing this. Anybody got a work around for that? thank you | One of the systems involved is identifying the sender-IP as belonging to some kind of ISP address pool, most likely one that serves DSL customers. If it is your system doing the rejecting (unlikely) then you need to change your mailer so that it doesn't use the DSL blacklists. If it is the system you are trying to rela... | 0 | 2 | 1,792 | 2010-01-06T13:22:54.960 | infrastructure | serverfault.com | |
1,127,099 | Redirecting OpenVPN client traffic through a SOCKS proxy using Redsocks and iptables on Ubuntu | I am trying to redirect all traffic from an OpenVPN tunnel to a SOCKS proxy using Redsocks and iptables on my Ubuntu server. While locally generated traffic is being routed through Redsocks without any problem, I am having difficulties with routing the VPN client's traffic through the Redsocks proxy. The VPN client eit... | I have managed to find a solution to my problem. It turns out that the issue was with the Redsocks configuration, specifically the local_ip setting. Redsocks needed to listen on 0.0.0.0 instead of 127.0.0.1 to properly handle the redirected traffic from the VPN client. Here's the updated Redsocks configuration: [CODE] ... | 0 | 0 | 1,410 | 2023-03-25T12:24:44.510 | infrastructure | serverfault.com | |
282,337 | Server hang - data loss on reboot, post mortem analysis | A development server I'm responsible for (ext3 on raid 5 w/Debian Squeeze) froze up over the weekend and I was forced to reset it, as in unresponsive from KVM/physical keyboard access, no eth devices responding, etc. Not even the backup process ran (Figures, the one time I don't check for confirmation) So after the res... | Sounds familiar to me. Do you have an Intel-CPU? If so, what are your green mode-settings in the BIOS? Is your BIOS up to date? What Intel-Microcode-patch does your Debian apply during boot? I had similar situations where an R310 froze up (weekends during times where nothing happened). This was fixed by an Intel-microc... | 2 | 1 | 762 | 2011-06-20T19:44:08.267 | database_errors | serverfault.com | |
57,585 | Input Ouput dimensions python keras | CODE [CODE] data after label encoders looks like [CODE] after one-hot looks like [CODE] after [X_test = sc.transform(X_test)] looks like [CODE] and X_train looks like [CODE] It is trained successfully. But when i run prediction code it gives error [CODE] variable (a) after one_hot looks like [CODE] I can't understand w... | Your problem originates in the fact that your testing set consists of examples of just 6 possible classes, while your model is trained with a training set of 9 different labels. When converting the test set to one-hot-encoding, you need to add the number of possible labels as the 'n_values' parameter. Otherwise by defa... | 1 | 1 | 36 | 2019-08-15T11:46:30.353 | data_quality | datascience.stackexchange.com | |
4,517 | InnoDB Foreign key updating vs. manual in-application updating | I've been working on a "legacy" schema in MySQL Workbench that uses a lot of relations. All of the tables are MyISAM, however, and there are no foreign keys. However, I'm working on a new area of the schema now, and am wondering: Would it be a good idea to force InnoDB and foreign keys for their ON UPDATE/ON DELETE tri... | It is better to let InnoDB enforce foreign keys. Trying to implement referential integrity in an application can be brittle and would obligate you to write rollback operations check constraints on keys manual cascading of DELETEs and perhaps UPDATEs InnoDB is equipped for all that and more. Plus, operations done in app... | 4 | 2 | 321 | 2011-08-09T22:18:31.843 | database_errors | dba.stackexchange.com | |
191,568 | Ignore the joins without any result in SQL Server | Situation I'm making a SQL server query to filter data from the projects table ( [CODE] ) . This table got a lot of many to many relationships to other tables like region ( [CODE] ) , organisation ( [CODE] ) , etc. All the parameters I declare are optional. I've found to use [CODE] to do this. It works fine if I don't ... | I've been reading and re-reading the original question. What I have come to is this: Return records from tblProjecten where matches exist for parameters that have been supplied (are not null). Where the parameters are not supplied (or null) then assume all matches for that child table Effectively you're making your joi... | 1 | 4 | 2,562 | 2017-11-23T09:00:47.100 | database_errors | dba.stackexchange.com | |
802,083 | How to display VM Hostname as hostname and not IP? | I had a problem while adding some VM into NetBackup. VM Hostname is shown as IP, but I need to display it as hostname. This problem appear while try to add linux machine, for Windows machines it works fine. PS. On linux machine I configure /etc/hostname: [CODE] /etc/hosts: [CODE] [CODE] but when search for all VM -> VM... | You may have to configure a PTR record in your DNS for the IP->hostname reverse lookup. | 1 | 2 | 712 | 2016-09-09T12:20:05.260 | database_errors | serverfault.com | |
249,805 | get duplicate "base" URLs with mySQL | I can't quite seem to figure this out, and hoping someone can help. I was trying something like this, but doesn't seem to work: [CODE] Here is a (simplified) table structure with what I am using: [CODE] The output I want to get is to return any "base" urls that are identical with an 'identical' date, that I can manuall... | Selecting all fields makes no sense - server will output one RANDOM field value from all values in the group. Use [CODE] fiddle | 0 | 0 | 91 | 2019-09-27T16:18:17.870 | database_errors | dba.stackexchange.com | |
311,533 | Optimize MYSQL Select query in large table | Given the table: [CODE] Table size: over 7 million . All fields are not unique , except id. Simple query: [CODE] Takes over 45s-60s to complete. Tried to put unique index on title and description but got 1170 error. How could I optimize it? Would be very grateful for suggestions. | If you expect there to not be a lot of rows, or you only want to return a handful anyway, then a non-unique index on [CODE] is the way to go. As this column is a [CODE] datatype, you will need to constrain the length in some way, I've chosen 100. [CODE] An index doesn't require uniqueness by default. | 7 | 12 | 6,006 | 2022-05-01T12:16:13.357 | database_errors | dba.stackexchange.com | |
320,217 | Optimize the number of connections of the connection pool and MySQL | We are using Oracle Cloud's Ampere A1 instance consisting of 4 OCPUs (equivalent to 4 vCPUs) and 24GB of usable memory on Oracle Linux 7.9. On the server is running an java game server and a web server, both are used with MySQL 5.x. With the game server written in Java, we are using proxool , targeting up to 250 concur... | I don't use any "formulas" for tuning databases. They're all wrong, because they don't take into account the specific needs of your database and your application requests. The size of your connection pool really has nothing to do with your CPUs or your disk spindles. It has to do with how many concurrent connections yo... | 2 | 3 | 1,190 | 2022-11-26T01:50:47.397 | database_errors | dba.stackexchange.com | |
620,660 | After ntpdate update for ubuntu server I always receive the old php file in nginx | The problem with [CODE] caching happened when I used [CODE] to sync my server clock. Now when I request the path [CODE] I receive the old PHP file that I was working on. I tried to set [CODE] to [CODE] in [CODE] and even turned off caching in [CODE] for my DNS, but gain no success. When I looked into the header part wi... | You might have [CODE] cache module installed in PHP. The easiest way to force APC cache refresh, you should restart your [CODE] daemon. | 2 | 0 | 425 | 2014-08-15T11:00:54.587 | infrastructure | serverfault.com | |
193,508 | PostgreSQL - Execution plan - Actual time meaning | I have a question regarding the meaning of actual time in an execution plan. I read the following things but they seem to be contradictory: The first value is the time to retrieve the first line and the seconds value is the time to retrieve the last line. When I want to know which operation takes a long time, I take th... | Your assumption 1) is wrong. The first time is the time it takes to initialize the step. The second time is the total time the step took (including child steps). So the total time for the sort step is 729ms - 111ms of that were spent retrieving the data through a Seq Scan. | 3 | 4 | 2,192 | 2017-12-19T11:03:59.210 | database_errors | dba.stackexchange.com | |
743,005 | Reducing AWS EC2 Instance and RDS - Is 'low' Network Performance acceptable? | I launched my site on AWS a few weeks ago. I have a [CODE] EC2 instance and a [CODE] RDS instance (MySQL database). I've looked at the monitoring for each and this is the average usage for each: RDS 6% CPU Utilization EC2 10% CPU Utilization Clearly my site is hardly consuming any of the available resources. I want to ... | This question is difficult to answer as you'll need to determine "acceptable". The "Low" rating will almost certainly result in slower transfer rates, and depending on the region and the time of day/year you may find contention on the host where your instance lives. "Low" network may also get the least priority which m... | 3 | 1 | 423 | 2015-12-14T20:55:04.957 | pipeline_ops | serverfault.com | |
22,710 | Help with backpropagation equations for a simple neural network with Sigmoid activation | I'm trying to create a simple neural network with 2 input neurons, 1 hidden layer with 3 neurons and an output layer with single neuron and to train it for XOR problem. As per my understanding of neural nets, I'm planning to have in each neuron a weighted linear function of inputs and a Sigmoid activation function. So ... | The gradient is actually calculated w.r.t to the weights so that each neuron would have a different 'change in the weight' according to its previous weight. In other words, not all the 3 neurons in the hidden layer will be penalized with the same value because the initial weights at t=0 are different for these neurone.... | 1 | 1 | 8,229 | 2017-08-30T12:25:40.437 | data_quality | datascience.stackexchange.com | |
78,469 | Apache: Send pre-packed gzip'ed files | I want Apache to send static files gzip'ed over the wire, but also want Apache to not always gzip them over and over again. So I thought if it wouldn't be possible to deliver an .gz file if it exists. This set-up: File structure: [CODE] And the following in an .htaccess: mod_rewrite rule: [CODE] And this setting: [CODE... | A solution for sending the correct version to browsers that don't accept gzip would be something along the lines of: [CODE] Also, there is another way to change the type, namely: [CODE] HTH. | 8 | 5 | 2,874 | 2009-10-26T20:29:07.187 | infrastructure | serverfault.com | |
238,255 | Outlook emails moving from deleted items back to the inbox | I have a very strange problem. On one of the machines running Outlook 2003 (using Exchange 2000), something will 'randomly' move all the items from the Deleted Items back to the Inbox folder. I can find no rules, macros, or archive settings that would be causing this. Has anyone ever seen something like this, or know i... | Check the 'conflicts' or 'sync error' folders (you may have to switch to full folder view in Outlook. Maybe your antivirus is cusing sync errors between outlook and exchange. Don't forget about their antivirus on your server. Also, are you sure it's exchange 2000 ? That one is getting a bit long in the tooth (i.e. old)... | 0 | 1 | 1,714 | 2011-02-21T17:24:21.633 | hadoop_errors | serverfault.com | |
270,693 | MySQL SELECT slow, but only 2 x 300K rows and indexes | Have the MySQL SELECT query below that is awfully slow. It takes ~1.0 seconds to execute despite having only 300K rows and indexes, so I would love to find a way to get it to execute faster since it's a query that needs to be run again and again. The query: [CODE] The query returns 960 rows. The table products has 300.... | KEY [CODE] ( [CODE] , [CODE] , [CODE] , [CODE] , [CODE] ) This index does not support this query well. The first field in the index is brand_id, but you are only filtering by "> 0". Since I doubt you have many brands with negative id's, this probably isn't going to help very much. The next field in the index is shopid,... | 1 | 0 | 340 | 2020-07-09T18:26:14.523 | database_errors | dba.stackexchange.com | |
199,325 | Two libraries connecting to the database, leading to code smell? | In the current company that I work for there is a very large Utilities library. It was written a few years back (long before I joined) and has grown ergonomically over time to now do everything: Sending Emails Exporting Files in different formats, i.e. CSV, tab delimited Receiving data from 3rd party providers, i.e. Bl... | I would suggest that organization may be more important than separation. Separating things into separate DLLs could be useful when a client library only needs part (but not all) of the total functionality. My suggestion would be to follow the DRY principle -- don't duplicate code. Shared code can be put into a base lib... | 2 | 5 | 1,164 | 2013-05-24T16:38:33.183 | api_errors | softwareengineering.stackexchange.com | |
810,005 | Nginx Server Block for SSL don't work | My site is available without ssl via http but not via https. With https://www.example.com occurs a network timeout. Also the nginx error.log shows no errors. Why am I not able to redirect and reach the site via https? This is my nginx server block file: [CODE] Output of netstat -tulpen|grep 443 [CODE] Edit: This is my ... | Ok finally I found it. It was simply a fault in the firewall. Port 443 wasn't allowed. But it still doesn't redirect from http:// to https:// | -1 | 0 | 534 | 2016-10-19T15:03:18.917 | infrastructure | serverfault.com | |
371,691 | How do I configure PostFix to allow other machines to send out email through it? | I have PostFix up and running on a CentOS box and would like to send mail from a Windows server on the same network out through the PostFix server. When I try to telnet from the Windows server into port 25 on the PostFix server currently the connection fails. Where do I set this up within PostFix/CentOS? Thanks in adva... | You will need to configure relay. However when postfix is running you should be able to still connect to port 25. Might there be a firewall blocking this connection? When you open main.cf, you can need to add this directive: [CODE] example: [CODE] do not put 0.0.0.0 or you will become an open relay. | 21 | 28 | 98,432 | 2012-03-20T19:26:00.713 | infrastructure | serverfault.com | |
366,750 | How to handle multiple calls to webservice? | I got a REST webservice and it has a simple method like; [CODE] Problem is [CODE] method takes too long to complete nearly 1 minute) and there can be multiple calls in a short time. How can I handle these requests efficiently? Webservice creates a new thread for every request and it holds new requests when thread limit... | Your immediate issue might be fixed with a better webserver or reconfiguring the api to work on an async model and not eat up threads. However, going forward with long requests you should switch to a queue model which can cope with indefinite delays. Depending on your infrastructure, perhaps your client can post direct... | 3 | 2 | 5,203 | 2018-02-28T13:38:25.083 | api_errors | softwareengineering.stackexchange.com | |
702,825 | Server 2012 - Multiple Issues | I was called in to look at a school server that the user had powered on after what I assume was a power drop. It's a 2012 R2 Standard Server which is now partially working but it has several problems which I'm not sure if I can resolve. It's just a simple, single image standalone server with approx 50 clients. File and... | After further unsuccessful attempts to try and run anything locally on the machine that might help fix things, I restored it from a full image taken a couple of months ago with Macrium Reflect (a great tool in my opinion) and the server is back up and running. The downside is I had about 50 workstations needing the tru... | 0 | 0 | 104 | 2015-07-01T12:59:44.550 | database_errors | serverfault.com | |
43,740 | Why would increase in innodb_buffer_pool_size slow down MySQL? | 5.1.68-cll - MySQL Community Server on CentOS The system has 32GB of RAM. I increased innodb_buffer_pool_size from 10240M to 15360M (10GB -> 15GB). Time taken for a series of identical operations increased from 720 to 822 seconds (14% increase). This was the result only a single test at each setting. But 4 previous tes... | From what you gave me thus far The CPU has the illustrious task of accessing all 32GB RAM. InnoDB's Buffer Pool is 8GB (524288 * 16384) 524288 ( Innodb_buffer_pool_pages_total ) 16384 ( Innodb_page_size )) InnoDB Architecture CONJECTURE #1 Since InnoDB allocates its buffer pool contiguously, one could only imagine if t... | 4 | 3 | 6,078 | 2013-06-04T08:35:17.773 | database_errors | dba.stackexchange.com | |
429,164 | Modernizing a legacy source control / deployment infrastructure | I've got a large, old application with a clunky, extremely manual deployment process (essentially, tribal knowledge combined with random scripts / build jobs scattered across servers). The application is largely written in C# with a little C here and there and is source controlled in one monolithic Accurev repo about 5... | Here's the rune that I would use to guide my next steps: "What do I want the Future State to look like, and why?" Start by making a list of every deficiency or problem that you might need to address – and write down exactly why you think that it's a problem. Next, also write down exactly what you think that a solution ... | 0 | 1 | 81 | 2021-06-09T11:23:31.333 | pipeline_ops | softwareengineering.stackexchange.com | |
355,176 | How to represent a set in JSON? | JSON supports the following data structures (Java equivalents): Scalar, Array/List, and Map. A [CODE] is not supported out-of-the-box in JSON. I thought about several ways to represent a set in JSON: [1] - As a list However, a list has its own ordering, so the following two lists, [CODE] and [CODE] are not equal as lis... | Well, you can't. As you said, you can represent arrays and dictionaries. You have two choices. Represent the set as an array. Advantage: Converting from set to array and back is usually easy. Disadvantage: An array has an implied order, which a set doesn't, so converting identical sets to JSON arrays can create arrays ... | 37 | 35 | 80,080 | 2017-08-05T22:10:51.903 | data_quality | softwareengineering.stackexchange.com | |
523,291 | Real trouble for opening port in SQL Server 2008 | I'm having trouble trouble opening port in SQL Server 2008 R2 Express Edition ( http://www.microsoft.com/en-us/download/details.aspx?id=30438 ) even by disabling the Firewall. I also installed the official requirements needed on the instructions without issues. My configuration is the following : The SQL server is inst... | Have you configured SQL Server to listen for remote connections? [CODE] | 0 | 0 | 338 | 2013-07-15T04:38:01.317 | database_errors | serverfault.com | |
16,450 | CoreDNS is not working after installation of microk8s | I have installed a microk8s on my 64 bit raspbian, and enabled a dns server by [CODE] Coredns is continously cashes: [CODE] How can I solve this CrashLoopBackOff problem? | I have solved the coredns problem by running [CODE] in my raspbian. | 0 | 0 | 667 | 2022-08-17T07:09:16.850 | pipeline_ops | devops.stackexchange.com | |
63,617 | Scraping mixed elements and passing to SQL | I'm running webscrapes via python which are retrieving data from csv's hosted on the web. I'd like to pass the data into a MSSQL database. An issue I have is the mixed elements/data types in the csv. Here is an example of the data [CODE] I would like to import all of this data into the db, but the critical data is in t... | One way would be to declare that column as a character type. I think this would be a poor solution as it forces all interpretation and processing of the data back onto the application. Better would be to declare Val2 as datatype sql_variant . At least then the DBMS has a fighting chance of interpreting the value correc... | 1 | 1 | 36 | 2019-11-22T16:04:32.367 | data_quality | datascience.stackexchange.com | |
36,605 | Server 2003: login delay while service starting | On Windows Server 2003, we have an occasional condition where an application service fails to start immediately, and the service stays in the “Starting” state for 20 minutes, after which it times out and shuts down. If this happens on a reboot, then it is not possible to login to the server (even from the console) unti... | What you're seeing is likely a peculiarity of your particular service. If the service only acts that way during boot it's going to be a little tough to troubleshoot, but you can use Process Monitor and its boot-time logging capabilities to figure out what's happening with the service. Any chance you can share what the ... | 1 | 1 | 2,442 | 2009-07-06T20:45:28.080 | infrastructure | serverfault.com | |
269,198 | Would you run RedHat 4.4 on a new server? | I have a hosting company that has setup a new server for me, but I noticed it was running RedHat 4.4 which I am worried about being such an old version. When I inquired about running an old version, they were reluctant to upgrade the OS. I am wondering if I am being paranoid about running an old version of RedHat or if... | No , I wouldn't run RHEL 4.4 on a new server unless you have a specific need for RHEL4, in which case I'd run RHEL4.9. There are remotely-exploitable vulnerabilities in RHEL4.4 You will have dependency problems if you want to install any modern software on RHEL4. I'd go for RHEL6. It isn't that new. | 9 | 11 | 779 | 2011-05-12T20:31:33.307 | infrastructure | serverfault.com | |
73,372 | AWS s3 - How to serve different file based on url parameter | For legacy reasons I need to serve different files from amazon s3 based on query string parameters. For example myfile.php?type=1 should serve other file than myfile.php?type=2. the files themselves are static. I successfuly created in a bucket a file named myfile.php?type=1 using S3 php class. But when I try to access... | Try to URL encode the ? and = signs. | 0 | 1 | 1,245 | 2009-10-11T08:59:28.310 | infrastructure | serverfault.com | |
1,035,140 | Jenkins pod failing to initialize | I am having a major problem with Jenkins pod not being able to start. This is how my kubernetes deployment looks like https://justpaste.it/8ff07 This is the log that I am getting when I investigate the logs https://justpaste.it/64vpb I am using this command to investigate the logs [CODE] My pod looks like this: [CODE] ... | This might be related to "being behind proxy" as described here in this article . Jenkins by default will try to install list of plugins which if it fails/timeout will cause the install to not complete and fail. Two possible solutions for this are: Install Jenkins with empty plugin list. You do so by adding a line inst... | 0 | 0 | 907 | 2020-09-24T06:54:14.850 | pipeline_ops | serverfault.com | |
1,030,988 | Using the libvirt terraform provider to attach to system wide network bridge | I'm trying to use the libvirt kvm terraform provider ( https://github.com/dmacvicar/terraform-provider-libvirt ) to connect an example virtual machine to an existing network bridge I've created. I'm using the simple example from here; https://github.com/fabianlee/terraform-libvirt-ubuntu-examples.git . Here's the tf, t... | in the [CODE] you should try to configure: [CODE] instead of: [CODE] | 0 | 0 | 1,536 | 2020-08-21T10:30:36.507 | pipeline_ops | serverfault.com | |
33,847 | Why isn't my 'if' statement working in my Cypress test | I'm trying to add an 'if' statement into my login test as there are two login pages that can be loaded. The test below is failing when it can't find the text 'Not your account?', when it should be continuing to the login steps. I think this is happening because both login pages have the same elements 'a.auth0-lock-alte... | Here: [CODE] to evaluate expression in [CODE] statement you call [CODE] method. Since [CODE] method has the default assertion that makes your test fail once the element does not contain the required value (if you will try to pass the test manually step by step you will realize that there is no such element when you see... | 2 | 2 | 11,155 | 2018-05-23T07:42:13.227 | data_quality | sqa.stackexchange.com | |
266,017 | Apache LDAP Auth idle-timeout | As part of the security policy we are upgrading out systems to comply with, I need to set our Apache LDAP Auth to have a idle-timeout of 15 minutes. I.e. If the user stops using the system for over 15 minutes, the next time they go to use it they will need to re-authenticate. Is this even possible? If so, how can I ach... | Unfortunately, basic authentication is not session-aware in any way. From the web server's perspective, they're actually forced to re-authenticate with every single request. However, all browsers cache the credentials used for a basic auth connection, so that you don't need to re-enter credentials for every resource lo... | 2 | 5 | 5,991 | 2011-05-04T00:55:30.887 | infrastructure | serverfault.com | |
441,853 | How to estimate scaling up costs/resources-needed of a project? | Let's consider an entrepreneur decides to create a new company like Airbnb, Netflix, etc. The problem is about the software part. He doesn't know how long it takes to create the mobile/web app? How many frontend developers, backend developers, devops engineers, graphic designers, etc. are needed to be hired and work on... | If you ever get to the point where you've got 1,000 people using your app, you can hire some people who can get it to scale to 100,000. If you ever get to the point where you've got 100,000 people using your app, you can hire some people who can get it to scale to 10,000,000. etc. Your app doesn't have to scale to bill... | 0 | 5 | 97 | 2022-10-24T21:34:09.197 | api_errors | softwareengineering.stackexchange.com | |
287,004 | query for showing columns from various tables, grouping and showing calculated field in each row of the result | I am doing a stock management system. In one table I store items: [CODE] Having this structure: I wanted to show a report or query table like this containing the following fields: [CODE] Not sure if I should store the sum of arrive quantities to date in one column and use that to calculate the quantity left then. Next ... | Basic is that you have all Tables set and also defined the relationship. Then you add a new query. Then you pull in all Table that you need, if your relationships are correctly set, all tables should ha a connection. Now you pull all needed columns into the part below and add a column that has the difference betwenn qt... | 0 | 0 | 36 | 2021-03-14T17:49:15.123 | warehouse_errors | dba.stackexchange.com | |
277,293 | Is HTTP over VPN is faster than HTTP over the internet? | I just noticed something curious. While I was in the middle of checking out my codebase from home, I VPN'd in to the office right quick and my SVN checkout speed doubled! Once I was done I closed the connection and my checkout speed dropped back down to where it had been. What gives!? I was under the impression that VP... | To your first question: my bet would be that your ISP might be doing some sort of throttling of HTTP connections. When you're VPNed into work, that traffic gets encrypted and thus, is no longer subject to the ISP's throttling. Regarding websites taking longer to load while VPNed in. This is a completely different use c... | 2 | 7 | 3,932 | 2011-06-06T03:25:32.117 | infrastructure | serverfault.com | |
451,373 | Loadbalancing with nginx and tomcat | Hello this should be fairly easy to answer for any system admin, the problem is that I'm not server admin but I have to complete this task, I'm very close but still not managing to do it. Here is what I mean, I have two tomcat instance running on [CODE] and [CODE] . People usually access those by visiting urls : [CODE]... | It's unclear to me based on your question which machine, or both, has "appname" in the destination url. Asuming your destinations are: [CODE] I'm just taking a shot here, but I would try adding "/appName" to either the upstream block OR the proxy pass line: [CODE] OR [CODE] Documentation for the proxy_pass directive ca... | 1 | 1 | 1,987 | 2012-11-22T22:22:57.457 | infrastructure | serverfault.com | |
197,565 | MongoDB sharded cluster chunks distribution | I have deployed MongoDB cluster with two shards (two replica sets) with docker-compose. Unfortunately I'm having problems with chunks distribution between shards, I'm new to MongoDB and database sin general so those problems can be result of me misunderstanding the topic. The questions describing problems are at the bo... | So, after loop finishes, the results of db.collection.getShardDistribution() shows that all chunks are located on only one of shards, after few minutes in fact chunks are distributed evenly between shards. Here is my question: should not mongos distribute chunks between shards during execution of loop, instead of direc... | 2 | 2 | 610 | 2018-02-10T14:17:57.300 | pipeline_ops | dba.stackexchange.com | |
329,720 | Trying to install pdo_oci via PECL fails asking for PDO extension | I'm using Linux Mint 11 (based on Ubuntu 11.04) and I need to use PHP with Oracle through PDO, a requirement of the framework we will work with. I've installed various PDO extensions using the normal apt-get method, like php5-mysql, etc, and they loaded just fine, along with the initial PDO extension. But there's no pa... | You can add a channel using [CODE] . From the sounds of the error message, it may just be that you don't have the php PDO extension installed. Depending on which package manager you use, it should be fairly straightforward to install, e.g. [CODE] | 0 | 1 | 3,458 | 2011-11-10T13:19:56.433 | database_errors | serverfault.com | |
299,724 | TDD/BDD: Mocks with expectations: bad? | Is using mocks in the following way a bad idea: writing tests where mocks expect certain calls from the subject under test Or even just writing mocks that return values to the subject under test if/when requested Reason for my doubts: It ties down the SUT to an implementation, since the tests would need to change when ... | You are right that tests would need to change when the implementation changes. However, the value of your tests is that because the behaviour of the system under test does not change your tests will still be valid. What your class does should not change, but how your class does it can. Your tests will help you when you... | -2 | 2 | 867 | 2015-10-13T06:36:50.070 | api_errors | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.