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 |
|---|---|---|---|---|---|---|---|---|---|---|
328,744 | Is One CAL enough if only one Windows Service is doing all SQL Queries for Multiple Users | Possible Duplicate: Can you help me with my software licensing question? I have Microsoft SQL Server 2008 installed on a server. The license is 5 CAL I have a three tier solution viz database Windows Service User Multiple Users (More than 5) connects to the single windows service. The windows service than connects with... | It's hard to say exactly. And you best bet is to talk to your local Microsoft rep. But based on previous experience, if the windows service is only proxying / multiplexing the connections (which it sounds like it is) then you will need a CAL for each user (or a CPU license etc) If however the application connects to th... | 0 | 1 | 397 | 2011-11-08T04:49:42.790 | database_errors | serverfault.com | |
343,603 | How can customer specific implementation be handled? | How can I handle customer specific implementation. So for example a custom needs a different way to show data, a different model or a different logic. I've read about HMVC but I can't find frameworks that support it. Should I handle the problem by creating branches specific for the customer or forking the project? Or i... | You really don't want customer specific branches/forks. Multiple main branches are a pain to maintain. In some cases they are really needed - for example, when you are trying to stabilize a release or support an old version - but in those cases there are usually few of them, and the problem of what-to-push-where is som... | 4 | 4 | 315 | 2017-03-07T00:50:41.080 | api_errors | softwareengineering.stackexchange.com | |
104,806 | Streaming replication and lag when performing VACUUM on master | My streaming replication standby server is showing a delay of a few minutes when vacuuming a large table on the master. What is the reason for the lag, and is there a way to reduce it? Both servers have identical hardware on a 10GB network. Relevant settings are: [CODE] | Nick, based on the information we've gathered, I'm going to venture a guess, but if I'm wrong, come back and let us know and there may still be something we can do. I wouldn't say I'm confident about the internals of auto-vacuum processes on hot standby servers. Streaming Replication, aka Log-Shipping Streaming replica... | 1 | 1 | 2,857 | 2015-06-22T19:12:18.667 | database_errors | dba.stackexchange.com | |
181,125 | How to extract operators from the grammar productions for conflict resolution in LALR parser? | Is there some standardized or widely accepted algorithm for picking up operators in shift/reduce conflicts in LALR parser? The question is naive, my problem is not with implementing my solution, but implementing the solution is already widely used. For shift the operator is the next input token, for reduce, it depends ... | Converted from a comment, first, a rephrasing of your question: Suppose we have the following ambiguous grammar: [CODE] In the LR automaton, we will have the following shift-reduce conflict (among others): [CODE] As is common knowledge, reducing here will make '*' bind more tightly as '+' (as normal), while shifting wi... | 0 | 3 | 725 | 2012-12-31T22:04:49.647 | api_errors | softwareengineering.stackexchange.com | |
13,682 | logistic regression - why exponent (log ratio) is linear | I am new to ds and stats in general. I read numerous article to understand logistic regression. I got some idea why it works and how it fits to scattered plot of 1s and 0s when target variable is binary. however one piece of puzzle I still don't understand is how come someone derived that [CODE] I see all articles assu... | p is a probability so it is strictly between 0 and 1. So ln(p/(1-p)) is: for p = 0: ln(0/1) = -Inf for p = 1: ln(1/0) = +Inf So now you've rescaled the probability to +/- Inf. In the GLM framework you can use practically any function that scales probability to +/-Inf (see any GLM textbook, or https://stats.stackexchang... | 1 | 4 | 209 | 2016-08-26T06:01:44.333 | data_quality | datascience.stackexchange.com | |
638,442 | lighttpd does not start at boot after enabling ipv6 | A few days ago I configured lighttpd to listen on my VPS IPv6 address as well. It runs on a Debian 7 Xen VPS (Linode) with a [CODE] kernel. The version of lighttpd is [CODE] . My lighttpd.conf used this configuration to listen to IPv4: [CODE] I added the following to enable IPv6 as per http://redmine.lighttpd.net/proje... | When IPv6 addresses are configured they aren't available immediately. The system first performs DAD (Duplicate Address Detection) to make sure that its new address doesn't conflict with an existing address on another system. Applications cannot bind (at least not with default settings) to addresses that are still tenta... | 0 | 3 | 963 | 2014-10-20T21:49:17.487 | infrastructure | serverfault.com | |
17,079 | How can I make big confusion matrices easier to read? | I have recently published a dataset ( link ) with 369 classes. I ran a couple of experiments on them to get a feeling for how difficult the classification task is. Usually, I like it if there are confusion matrices to see the type of error being made. However, a $369 \times 369$ matrix is not practical. Is there a way ... | You can apply a technique I described in my masters thesis (page 48ff) and called Confusion Matrix Ordering (CMO): Order the columns/rows in such a way, that most errors are along the diagonal. Split the confusion matrix into multiple blocks such that the single blocks can easily printed / viewed - and such that you ca... | 14 | 8 | 12,981 | 2017-02-21T05:21:58.127 | data_quality | datascience.stackexchange.com | |
757,406 | Mount ZFS dataset in unprivileged container | First a bit of information about my configuration: Ubuntu 15.10 ZFS pool created LXC containers stored in pool/lxc Dataset created in [CODE] owned by [CODE] Now I need one of the containers to access the files/folders in [CODE] . I tried the following: Created a user [CODE] inside the container Edited [CODE] and added:... | I've experienced the same. The reason, in my case, is that the filesystem to be bind-mounted is owned by UID:GID in the range of the host machine . An unprivileged container, by definition, uses UIDs outside the normal range, and a user namespace to give the appearance of normality in the container. Note that everythin... | 4 | 1 | 2,628 | 2016-02-15T23:43:09.560 | pipeline_ops | serverfault.com | |
301,254 | Forward requesting IP from Nginx to Apache's logs | I'm using nginx as a front end reverse proxy for Apache, I have the following configuration inside of nginx: [CODE] With apache listening on port 8000 locally. When I look at apache's logs all the requests come from 127.0.0.1:443 (which is where nginx is sitting). I want to forward the real IP to apache so that it stor... | you need to change apache's log format to support x-forward for example [CODE] Then you can use [CODE] So the last entry in your log will be the header nginx is setting for the real IP. Of course you can switch around the order in the LogFormat line | 1 | 4 | 6,276 | 2011-08-15T16:15:49.590 | infrastructure | serverfault.com | |
385,379 | Missing attachments from specific domain | one of our users has problem with receiving PDF attachments from one domain. The body of the mail is recieved without any change, but there is no sign of attachments. He has this problem only with PDF attachments, zip, office doc etc. delivers fine. When same sender forwards the e-mail to another Exchange user, it's de... | This sounds a lot like the receiver has some program running that is deleting the attachment. You need to do more debugging - it sounds like you haven't tried nearly enough conditions to come close to pinpointing where the issue is. Try logging on to a different system (one that has no problems with attachments) under ... | 0 | 0 | 188 | 2012-05-02T17:32:40.743 | infrastructure | serverfault.com | |
119,899 | Change Windows Authentication user for Sql Server Management Studio | We're using Sql Server 2005 with Windows Authentication setup. So normally, when you log in using e.g. Sql Server Management Studio, it forces you to log in at MACHINE_NAME\Username. Anyways, on this one particular computer, the person said they had to make a new account called User01 to do something and showed me wher... | If you logged on as the Test user and you gave the Test user no other rights at the server level, then it won't be able to touch the User01 account. You need to be a member of the securityadmin or sysadmin role, have CONTROL SERVER rights, or something to that effect. What account did you originally use to connect and ... | 2 | 1 | 19,106 | 2010-03-06T18:21:13.803 | database_errors | serverfault.com | |
377,517 | Unusually high memory usage on a CentOS VPS with 512 guaranteed RAM | I'm working on a medium-sized web application written in PHP that's running on a VPS with 512mb ram. The webapp hasn't been officially launched yet, so there isn't too much traffic going on, just me and a few other people working on it. There is another slightly smaller webapp also hosted on this machine, among 4-5 oth... | free -m shows that there should be enough free RAM. When a process gets killed because of too few RAM being available, this is called an "oom kill"m where "oom" stands for o ut o f m emory. You can even tell Linux which processes to kill in what order when this situation occurs. Besides that, MySQL reserves a lot of RA... | 3 | 0 | 3,890 | 2012-04-07T10:33:00.273 | database_errors | serverfault.com | |
367,745 | Speed Up IIS7 FTP+SSL Transfers | I am currently using a Server 2008 R2 box with IIS 7.5. I have IIS FTP+SSL setup and working properly with AD accounts. My issue lies in upload speeds. On a previous unix host FTP transfers were quick both with large files, and small files in any quantity. With IIS FTP once a transfer of a specific file starts, the tra... | I found that using different FTP software. Specifically Panic.com's Transmit allowed for greatly increased transfer speeds. Not sure what if different in how Transmit handles the FTP+SSL protocol, but it does the trick. | 1 | 0 | 695 | 2012-03-08T18:39:56.673 | infrastructure | serverfault.com | |
256,110 | Why does START TRANSACTION WITH CONSISTENT SNAPSHOT not work with SERIALIZABLE isolation level? | The MySQL doc for [CODE] says: The only isolation level that permits a consistent read is REPEATABLE READ. For all other isolation levels, the WITH CONSISTENT SNAPSHOT clause is ignored. A warning is generated when the WITH CONSISTENT SNAPSHOT clause is ignored. I'm surprised, as I thought that the [CODE] isolation lev... | The WITH CONSISTENT SNAPSHOT modifier starts a consistent read for storage engines that are capable of it. consistent read A read operation that uses snapshot information to present query results based on a point in time, regardless of changes performed by other transactions running at the same time. With SERIALIZABLE ... | 1 | 1 | 794 | 2019-12-21T22:27:42.777 | database_errors | dba.stackexchange.com | |
237,876 | What should plugins use: hooks, events or something else? | Consider an app that allows plugins to react to its program flow. I know 2 ways to achieve this: hooks and events 1. Hooks Use calls to empty functions inside the main program flow. These functions can be overriden by plugins. For example, Drupal CMS implements hooks which are available to modules and themes. Here's an... | The main difference between a hook and event is loose coupling versus tight coupling. A hook is a generic way to broadcast that something has happened. You can add new hooks without having to recompile plugins, and all hooks follow a generic design pattern. Once the hook API is defined it doesn't change so the coupling... | 26 | 20 | 3,839 | 2014-05-04T10:57:12.923 | api_errors | softwareengineering.stackexchange.com | |
1,146,132 | Remote Linux server GitHub permission denied publickey issues | I am experiencing publickey permission issues when trying to pull a private repo from GitHub to a remote Linux server. Update Ran [CODE] command on local Terminal [CODE] [CODE] replaces the actual username on the server. I have created an empty directory on the server and initialized Git using [CODE] . The permissions ... | It looks like it's working with the updated ssh command: [CODE] I suggest you remove the other ssh keys from the .ssh folder if they aren't necessary. Or you may configure git to use a custom SSH command: https://stackoverflow.com/questions/4565700/how-to-specify-the-private-ssh-key-to-use-when-executing-shell-command-... | 1 | 0 | 150 | 2023-10-18T22:39:07.883 | data_quality | serverfault.com | |
350,407 | In my use case, does it make sense to make every major method return an async result? | I have a Playframework application written in Scala. As you might expect, it's primary function is to respond to user requests. Typical request flow: Parse input and figure out what the user wants us to do Gather external resources from db, AWS and so on (relatively slow, async IO calls). When IO calls return, execute ... | One downside I can see is that the function signatures are "lying" This is actually fairly significant. Type signatures are a free and guaranteed up to date documentation on your system. Having misrepresentative type signatures then is like having misleading documentation: it harms ramp-up time and future development c... | 1 | 3 | 61 | 2017-06-07T23:06:40.547 | api_errors | softwareengineering.stackexchange.com | |
392,437 | adding response header to Jetty config file | I am trying to add a response header to the Jetty configuration the following command, [CODE] Ok so this Jetty webserver is the base on which Geoserver is running. I asked this question in the GIS forum but no one was able to answer it so I felt I might get the answer here. I wish to add this response to the header to ... | My preference is to add headers in a proxying web server. If you have Apache HTTP infront of your Jetty instance then use the [CODE] directive. In answer to the question, to perform this purely in Jetty see setting-http-headers-with-jetty | 3 | 0 | 6,876 | 2012-05-24T21:57:15.910 | data_quality | serverfault.com | |
16,296 | Getting Forbidden error while running the jmeter script | I an getting the error while running the script for the default magento checkout. The rest of the script is working properly but on checkout getting 403 error. I am not getting why it is happening. So anyone can help me. | HTTP Response code 403 stands for Forbidden , the most likely your login attempt did not succeeded or application expects some parameter. Add View Results Tree listener and inspect requests and responses to detect if they match your expectations. For successful logging into a Magento application you need the following:... | 0 | 1 | 2,308 | 2015-12-29T11:21:33.417 | api_errors | sqa.stackexchange.com | |
1,132,646 | Apache using up all the memory | My site (which as running fine until yesterday - CPU was at 2%, memory at 50%) keeps maxing out the resources - CPU and Memory at 100% and "load" and Disc IO very high. the site is a php (silverstripe) site running on Ubuntu linux with apache and mysql. Looking at the memory: [CODE] I get 150 entries for apache2 all wi... | This goes way beyond the scope of an answer here. But some pointers might be helpful. First, don't try to measure memory usage using ps - reality is so much more complicated. Better to use ' free '. Limit the number of connection with max_clients. On a web server, avoiding swap is really critical. If you have it switch... | 0 | 1 | 263 | 2023-06-05T12:51:28.867 | database_errors | serverfault.com | |
269,483 | Case overcounting what is expected | So I am attempting to setup a query that can track actions that are automated within our web system. The first thing I am attempting to check is the reminders we are sending out to customers. I have got a query that should be returning what I am expecting but it's overcounting and I have no idea what it's doing. The qu... | [CODE] before [CODE] , else you will be counting the result of the [CODE] . Possibly it is as simple as putting the [CODE] counts in the [CODE] subquery; ditto for [CODE] . At that point, the subqueries may as well deliver only counts, not all the other columns. And, then, why [CODE] ? | 0 | 0 | 81 | 2020-06-19T14:33:09.867 | warehouse_errors | dba.stackexchange.com | |
78,873 | Automatic change of "initial size" of a database? | I just had a problem : days ago, on one of my client's databases, the LDF file suddenly grew up to 100% of the disk capacity. .TRN backups are correctly done every 15min (I don't think reducing this time will help, because this database is rarely used). I created this database from a backup, two months ago. Everything ... | There is nothing that allows SQL Server to modify the initial size of a file automatically, by itself. The file must have been altered by a sysadmin or someone with ownership of the database. I expect they were setting the max size of the file and set the wrong option. | 0 | 2 | 882 | 2014-10-10T11:36:55.413 | database_errors | dba.stackexchange.com | |
360,328 | Dovecot Migration and old mails | I'm migrating my mails from an old server to a new one, the configuration is good (mysql virtual accounts & imap only ), with dovecot and postfix. It's already running for other users, I just want to merge old accounts from the old server to the new one. The migration went fine, I just wanted to know how I could " show... | Maildir actually uses a unique format that makes this quite easy. Simply place the mail in [CODE] directory inside the mail users mailroot if you want it to show up as new. Otherwise it goes in the [CODE] directory. | 6 | 1 | 17,471 | 2012-01-31T22:19:45.697 | database_errors | serverfault.com | |
134,863 | Nginx fastcgi problems with django (double slashes in url?) | I'm deploying my first django app. I'm familiar with nginx and fastcgi from deploying php-fpm. I can't get python to recognize the urls. I'm also at a loss on how to debug this further. I'd welcome solutions to this problem and tips on debugging fastcgi problems. Currently I get a 404 page regardless of the url and for... | maybe have a look at the django documentation at http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#ChangedthewayURLpathsaredetermined . the solution for my smiliar problems (but with lighttpd) was putting [CODE] in my settings.py. also give [CODE] a try! | 4 | 3 | 5,703 | 2010-04-22T13:31:53.177 | infrastructure | serverfault.com | |
783,662 | How to fix error about Outlook pst file? | When I am trying to open Outlook the error came like: filename.pst is not a personal folder”. So I created one new pst and set it as default. Then I was able to open Outlook. But I need old emails which are in the old filename.pst file. And I need the old pst to be configured in my mail. When I tried the attached error... | Microsoft provides the Inbox Repair Tool for correcting most problems with damaged Personal Folders .pst files. If you do not see the Inbox Repair Tool on the [CODE] , use [CODE] to search your system for [CODE] . https://support.microsoft.com/en-us/kb/272227 You will need to know the location of the .pst file that you... | 0 | 1 | 91 | 2016-06-13T14:40:31.703 | infrastructure | serverfault.com | |
37,670 | Does a resize of a partition typically stretch the existing size of the used space on your file system? | On a dual boot system (Vista/Jaunty) I wanted to take some unallocated space and enlarge my ext3 partition. Upon doing so I noticed that the disk check that runs from parted kept failing at the end of the resize, and also that my actual space used within that partition had growm. i.e. from 14g used of 20g partition to ... | "Is this normal behaviour?" Definitely no. Resizing the partition shouldn't swallow up gigabytes of space like that. Probably isn't human error either. Sounds like the filesystem structures have been corrupted in some way. Could you give us more detail on the command you used? | -1 | 1 | 274 | 2009-07-08T13:08:00.613 | infrastructure | serverfault.com | |
87,785 | Time series forecasting with constraints | I want to predict the passenger flow volume of an airline route, which subjects to supply capacity constraints of the route (i.e., the passenger flow volume should not be higher than the supply capacity). Are there any algorithms that could be used to do this kind of forecasting problem with constraints? | One possible set of algorithms are for circulation problems that try to model the flow rate through a network with constraints. One example algorithm is Edmonds–Karp algorithm which is relatively efficient method for computing the maximum flow in a flow network. | 1 | 0 | 47 | 2021-01-11T06:25:33.323 | data_quality | datascience.stackexchange.com | |
126,637 | For SQL Server, how to fix simultaneous parallel table updates? | I have to update all records (add Guids) on two (indexed) empty columns of 150 tables, each table with around 50k records (using a script to create 40k updates at once in c# and post it to the server) and exactly 4 existing columns. On my local machine (16GB RAM, 500GB Samsung 850, SQL Server 2014, core i5) when I try ... | Given the code in your answer, you would most likely improve performance by doing the following two changes: Start the query batch with [CODE] and end the batch with [CODE] : Decrease the number of updates per batch to less than 5000 to avoid lock escalation (which generally occurs at 5000 locks). Try 4500. Doing those... | 7 | 4 | 11,756 | 2016-01-19T14:22:08.130 | database_errors | dba.stackexchange.com | |
123,173 | Best strategy for handling missing groups of features | I am currently working on a ML problem where the features used for modelling are sourced from different places/providers. It is very unlikely to find the features from all the different sources to be present for the same subject. So my data count looks something like the following: Feat Group 1 Feat Group 2 Feat Group ... | There are multiple ways that you can deal with the missing values. First, check if the values are missing at random or due to some reason. If they are missing due to some reason for, e.g., let's say you stand outside a store asked people to fill a form. And the form include “Age”. Women tend to keep that column empty.(... | 0 | 1 | 33 | 2023-08-10T17:24:13.470 | api_errors | datascience.stackexchange.com | |
613,577 | FreeBSD 10: NFS unable to export folder | I am unable to export a folder using NFS. /etc/exports [CODE] The first folder test is working fine, the other 2 i get this error: [CODE] The filesystem is ZFS RAID Z2. | One cannot generate multiple mounts on the same filesystem. LINK When using this export: [CODE] This works, but one is unable to specify specific permissions for the folders.... | 1 | 1 | 2,512 | 2014-07-18T09:25:07.727 | infrastructure | serverfault.com | |
823,709 | Why is posix.lstat taking such a long time? (duplicity backing up of 9p virtio filesystem) | I have a filesystem mounted with 9p virtio through KVM, and am backing it up using duplicity to a remote SSH server. I' m trying to speed up the backup process, which seems unreasonably slow to me. The source size is 20GB in 107.651 files, which are on an ext4 filesystem on the virtual machine host running Ubuntu 14.04... | 9p is the issue. Running duplicity on the VM host, where the data is located, it was done in 55 seconds . This bug is apparently still open, which talks about the same performance issues. It suggests adding msize=262144 to the mount options, which does speed up the access a bit, but it's still nowhere near as fast as d... | 1 | 1 | 274 | 2017-01-02T13:39:57.820 | database_errors | serverfault.com | |
205,581 | What causes SQL error 41106? | I get an error when I try to join the secondary replica to the Availability group thru Powershell while following the below Microsoft Documentation. [CODE] Error: Failed to join local availability replica to availability group ''. The operation encountered SQL Server error 41106 and has been rolled back. Check the SQL ... | The default database for my login was set to 'TempDB'. Changed that to 'Master'. And there was a DNS registration issue with the first node. So the secondary replica wasn't able to communicate with the primary by computername. Correcting these two resolved the issue. [CODE] worked properly. | 0 | 3 | 14,000 | 2018-05-02T15:34:39.807 | database_errors | dba.stackexchange.com | |
173,776 | How can I monitor network performance in Linux? | I am managing a network with a Linux server (CentOS 5.4) and Windows XP Clients. Recently I have become concerned about network performance and would like to begin monitoring it. Is it possible to monitor network traffic in order to find ways to optimize traffic? For example, there are some users who stream internet ra... | Look for [CODE] and [CODE] , two tools that will help you a lot. You can run then in the gateway machine (if you have one) or specific hosts. If you want to graph something you can use a SNMP tool like Cacti , Zabbix or even MRTG to have statistics of how much each host is eating from your bandwidth. | 0 | 3 | 10,430 | 2010-08-24T04:43:06.033 | pipeline_ops | serverfault.com | |
116,018 | How to cluster components of a graph containing text data? | Suppose that I have a graph that has components like the image below. Graph nodes contain text data (titles) and the edges data is the similarity (percentage). I know that each component represents a cluster, but my question is how to cluster these components. Example: A graph component may have these data for their no... | It seems to me that you're trying to use different methods at the same time: if your graph already contains a similarity value on the edges, then it would be redundant to use some form of topic modelling or text similarity again. In my opinion, you either: you assume that the text similarity values are reliable and exp... | 1 | 1 | 72 | 2022-11-09T08:51:36.140 | data_quality | datascience.stackexchange.com | |
520,172 | Prevent SSL certificate being returned for a specific domain | Apologies for a long question: We've taken on a new client whose web hosting was previously on their in-house server which still has their Exchange/Outlook email. We now host their domain (and many others) on our server. They're complaining that they're getting errors in Outlook. I don't understand the AutoDiscover stu... | As explained Here , a server being contacted via https cannot guess before sending its certificate what domain name the client wants to talk to. In your case you will need either to close HTTP/443 by stopping listening at this port, or to dedicate an IP address to this customer. I also don't know how their autodiscover... | 0 | 1 | 111 | 2013-07-02T12:49:32.077 | api_errors | serverfault.com | |
563,545 | Cisco ASA syslog format description | Where can I find Cisco ASA syslog format description? Log example: [CODE] I found only this doc from Cisco where nothing explained about "Message_text" field. | have a look at this, use eg %ASA-4-106023 as index : http://www.cisco.com/en/US/docs/security/asa/asa80/system/message/logmsgs.html Error Message %PIX|ASA-4-106023: Deny protocol src [interface_name:source_address/source_port] dst interface_name:dest_address/dest_port [type {string}, code {code}] by access_group acl_ID... | 1 | 1 | 11,378 | 2013-12-26T08:20:39.270 | infrastructure | serverfault.com | |
3,223 | Will these two queries result in a deadlock if executed in sequence? | This is almost certainly the cause of my other question , but I thought it was worth separating the two as I have a hypothesis based on the following log that I would love to have falsified or verified. My hypothesis is that the other deadlock is actually a result of the following queries, with the original query hidde... | So it turns out these two queries were at least part of the problem we were having. We have modified these two queries from: [CODE] to: [CODE] So we are no longer updating the entire record (across multiple keys) and we are updating the fields in the same order. Since we made the change our deadlocks have disappeared. | 11 | 4 | 7,096 | 2011-06-08T01:39:18.200 | database_errors | dba.stackexchange.com | |
395,620 | How to manage item locations in an inventory | I have to manage item locations and life cycle as a new requirement. I'm not familiar in warehousing/inventory/storage systems, so maybe my question is trivial. The task: We have original items that will be processed multiple times. In case of some processing steps the original item will be divided into multiple sub it... | There are a number of unknowns in your description, so either of the two solutions (or a somewhat different one) could be best suited. If the containers are managed in a hierarchy (an item is at a location in a box, the box is on some level on a shelf etc.) designing data structures around these containment relationshi... | 1 | 3 | 152 | 2019-08-05T10:00:24.303 | database_errors | softwareengineering.stackexchange.com | |
2,561 | Is it good practice to combine my Test and Prod BDD tests in one Framework? | This question has been bothering me lately, more from the fact that in the past this is something I would never do, yet in the past I wasn't writing BDD tests. Since incorporating SpecFlow into a Test Framework to use for verifying functionality in my Test environment I saw some use for those test scenarios to be used ... | Whenever possible I try to have the same solution for testing in my test environments as in my production environments. It isn't always possible, but when it is there are many benefits of this approach: You are sure the tests are the same, so all the time you have put into updating, maintaining and improving those test... | 3 | 4 | 923 | 2012-02-02T14:10:11.283 | data_quality | sqa.stackexchange.com | |
1,094,894 | Kubernetes Nginx Ingress with Cert Manager and letsencrypt does not allow wildcarts in domain names | I have a self-hosted Kubernetes cluster with an Nginx Ingress. Cert-manager is also running on the cluster, with which I try to get valid SSL certificates using Letsencrypt. It all works and I get a valid certificate for example.com, www.example.com or app1.example.com, but not for a general wildcard *.example.com. If ... | Thanks for the help, I was able to solve my problem: Basically, I had to find a new approach because no wild card certificate can be issued with http01. (see here: https://cert-manager.io/docs/configuration/acme/ ) After a little research I came to the conclusion that it makes the most sense to use a dns01 solver. Docu... | 0 | 0 | 2,864 | 2022-02-27T14:24:15.037 | pipeline_ops | serverfault.com | |
360,530 | Log through a FIFO, then redirect to a file? | I have an application that must log each transaction. Every log message is flushed because we need to have a record of what occurred leading up to a crash. My colleagues and I were curious about how to achieve the performance effects of buffering while guaranteeing that the log message had left the process. What we cam... | Note that a fifo is typically necessary in programming where the amount written in can surpass the amount read out. As such a fifo wont work entirely smoothly as you anticipate but would solve your main problem whilst introducing another. There are three possible caveats. Writing to the fifo is blocked indefinitely if ... | 8 | 6 | 12,858 | 2012-02-15T20:23:03.567 | infrastructure | serverfault.com | |
260,076 | problem to import load data infile | I am trying to load data into mysql database form text file. [CODE] error code: 1148. The used command is note allowed with this MySQL MySQL version 8.0.19. | looks like this an issue with mysql workbench 8 . Try this workaround. 1. locate or create your my.cnf file . E.g. if you're on a unix platform, look for [CODE] and create it if it doesn't exist. 2. update my.cnf to contain [CODE] restart the MySQL server. | 0 | 0 | 992 | 2020-02-19T22:05:16.960 | database_errors | dba.stackexchange.com | |
230,283 | Applying the Art Gallery problem to optimal sensor placement | I am trying to design an algorithm for optimal sensor placement in a given area. After doing some research I found the Art Gallery Problem . However, this problem assumes that the guards can see all the way to the perimeter from their positions, which is not the case with sensors (sensors have a range). Is it possible ... | As you correctly say yourself, the art gallery problem is not a good it because it doesn't have the notion of limited distance. It sounds like what you're trying to do can be mapped to the set cover problem . You can discretize the room into a set of places. For each place where you could put down a sensor, you can map... | 3 | 3 | 233 | 2014-02-25T13:28:08.433 | airflow_errors | softwareengineering.stackexchange.com | |
101,270 | In MySQL, get number of pregnant women who received 3 ANC checkups | I am working on a project where it is required to find out the total number of pregnant women who have received 3 ANC(Ante-Natal Care) checkups done. A pregnant women is said to receive 3 ANC checkups if any 3 of the 4 columns(visit1_date,visit2_date,visit3_date and visit4_date) have some value. For this, I need to cal... | Something like (untested): [CODE] should do the trick. | 0 | 1 | 45 | 2015-05-12T11:22:20.707 | database_errors | dba.stackexchange.com | |
632,451 | Force RAID 1+0 HP Smart Array to rebuild | I have a RAID10 with status "Ready for Rebuild", but how can I force the rebuild? [CODE] Details about the RAID1+0: [CODE] This is the controller: [CODE] Thanks a lot! -- edit As requested, follow the 'crtl all show config' using Firmware Version: 1.78: [CODE] Array: A Interface Type: SAS Unused Space: 0 MB Status: OK ... | You can't. "Ready for Rebuild" status means that the rebuild is likely running into a read error from a partner disk. You may have another failing disk in the array. See: Force LUN in a HP Smart Array to rebuild Did you recently replace a disk? Please provide the firmware revision of the Smart Array E200i controller yo... | 2 | 1 | 9,892 | 2014-09-30T13:58:49.497 | infrastructure | serverfault.com | |
838,159 | "Generico" networking issues: how to investigate | Recently I'm experiencing networking issues in my LAN. I have an Ubuntu server doing PDC, mailserver and Asterisk. There's KVM on it, which runs a Windows VM and pfSense firewall. From time to time the SIP phones continuously deregister, resulting in call drops. Last time this happened I debugged a SIP IP and the diagn... | What are the asterisk logs showing you around the time of the disconnect event? Is it all clients at once that lose their registration, or is it unpredictable? When calls drop do the clients hangup on their own (receive a SIP-goodbye) or are the users getting dead-air hangup then see the client is offline (due to the d... | 0 | 0 | 47 | 2017-03-14T11:25:31.050 | infrastructure | serverfault.com | |
282,863 | Multiple FK poiting to single column | I'm working on a project, I'm not an advanced backend/database dev, but I always like to understand the 'why's, pros and cons' of things. So I have this table and some times I use Foreign Keys to relate one table to another. One thing my client asked me recently was to implement a way to know wich user created each rec... | You should choose a pattern for the FK name that respects the relationships between the tables. My preference is [CODE] . So [CODE] , [CODE] , etc. | 1 | 2 | 43 | 2021-01-08T21:21:35.277 | warehouse_errors | dba.stackexchange.com | |
162,437 | ODBC can't connect to internal MySQL without external network | Running ODBC 5.2 (10.0.0.10) and MySQL 4.x (10.0.0.50). Yes, I know that ODBC 5.x dosen't officaly support MySQL 4.x but it was working fine for ~8 months till now when we have little problems with ISP and external network is not that stable. Thing is that ODBC can make connection with MySQL fine when external network ... | For each new client connection, the server uses the client IP address to check whether the client host name is in the host cache. If not, the server attempts to resolve the host name. First, it resolves the IP address to a host name and resolves that host name back to an IP address. Then it compares the result to the o... | 1 | 2 | 892 | 2017-01-27T13:49:32.643 | database_errors | dba.stackexchange.com | |
14,408 | Bootstrapping Galera Cluster in Docker | I'm trying to bootstrap a MariaDB Galera cluster in Docker containers. The following configuration works when I set [CODE] , but then I can't directly access the MariaDB from inside other containers, and I'd rather use ports published by Docker instead of directly binding to the host interface. Every container is runni... | For now I gave up on this approach after stumbling over this paragraphs in the Redis cluster documentation : Currently Redis Cluster does not support NATted environments and in general environments where IP addresses or TCP ports are remapped. Docker uses a technique called port mapping : programs running inside Docker... | 1 | 1 | 1,377 | 2021-07-28T10:00:14.620 | pipeline_ops | devops.stackexchange.com | |
1,070,585 | Is there a way to obtain CPS and Thruoghput metrics in Linux? | I want to analyze my Debian 9 server's network workload to detect some possible network overloads. The main metrics I need to analyze are: CPS (connections per second) Throughput Is there a way to obtain these metrics from within Linux? I thought that CPS metric could be somehow obtained through conntrack [CODE] connec... | I think it would be sufficient to describe these metrics' origins based on native Linux API. Throughput By the way, the throughput metric in general is something, that is external in relation to the testing object (OS Linux you're talking about). I.e. roughly speaking we have two hosts (e.g. client and server) and test... | 2 | 2 | 721 | 2021-07-25T13:00:26.410 | infrastructure | serverfault.com | |
85,922 | How to train a neural network on multiple objectives? | I have a multi-class neural network classifier that has K classes(products). For every row, only one of the classes will be 1 at a time. Now, this approach works fine if I have only 1 objective to optimize i.e Which of these N products was "clicked" by the user. But how will I solve this problem if I need to optimize o... | What you're referring to is called multi-task learning , where your goal is to have a single network learn multiple tasks (in your case "click" and "purchase"). The benefit of having a single model learn both tasks is that the network can use information extracted for one task to improve its performance on the other. T... | 2 | 2 | 1,198 | 2020-11-25T12:19:18.703 | data_quality | datascience.stackexchange.com | |
40,135 | Windows Server 2003 machine hanging on restart | I've got a Win 2K3 server that is hosted in a data centre hence all administration is done via RDP. The last couple of times I've re-started it after patching the server hangs - on the way down from the looks of it as IIS & SQL are still publicly responsive but my access to RDP goes straight away. The server will sit i... | Is anyone logged interactively e.g. via VNC or an autologin? I've seen this occasionally when something hangs in the interactive session. Typically this happens after the VNC and TS servers have shutdown, so there's no way to get in and kick the server! These days I insist all my servers have a DRAC card (on an HP use ... | 2 | 2 | 6,631 | 2009-07-13T20:42:58.073 | infrastructure | serverfault.com | |
772,516 | RHEL7 wireless configuration not available | I'm trying to use a wireless USB key on a RHEL7 NUC. The adapter shows up in 'ifconfig': [CODE] but there is no wireless configuration options available in NetworkManager, so I'm not able to select an SSID/wpa2-password and so forth. I found a thread that discussed a similar issue for centos. Following advice there, it... | It turns out that a newer than 3.10 kernel as well as updated firmware was required . | 0 | 0 | 956 | 2016-04-24T01:48:41.947 | infrastructure | serverfault.com | |
76,211 | 127.0.0.1 is working but localhost is not working on mac XAMPP | I installed XAMPP on my mac months ago and was working great. Now i get "Test Page For Apache Installation" when i try to browse /localhost and /localhost/xampp is not found. But when i browse /127.0.0.1 it just works as localhost used to be. I double checked my /etc/hosts file that i have 127.0.0.1 localhost and not c... | Maybe the OS X built-in web server is active and managed to bind to [CODE] , while XAMPP managed to bind to [CODE] ? Try turning off Web Sharing in System Preferences and restart XAMPP. | 2 | 1 | 29,600 | 2009-10-20T02:40:54.733 | infrastructure | serverfault.com | |
40,589 | Standardizing Vegas odds for a randomForest | I'm sorry I don't have reproducible code, but I have a pretty specific question that I can't find an answer to. I'm using [CODE] to project NBA statistics. Vegas-odds are incredibly useful because it's provides the wisdom of the crowd. Intuitively I feel like they need to be standardized for analysis, but maybe [CODE] ... | This is directly related to the idea of calibrating probability values produced by a random forest . Aside from the link, there is substantial literature on how to do this . The simplest approach basically amounts to fitting a logistic regression on the outputs of the random forest to change the response surface into a... | 0 | 0 | 29 | 2018-11-01T20:37:28.523 | data_quality | datascience.stackexchange.com | |
61,252 | Should I have "normal" sampled data in my dataset? | I am busy working on a project to find the reasons why kids in normal households are doing badly in school. I have a dataset of which consists of kids that live in environments where the family is middle class, has access to necessary facilities and the kid is not suffering from any disorders but is failing grades in s... | In short, yes. If your goal is to understand the drivers behind poor school performance (or even model + predict school performance), you will need both "positive" and "negative" outcomes in your dataset. Of course, you need to be careful that the positive outcomes are "similar" enough to the negative outcomes to avoid... | 0 | 0 | 18 | 2019-10-04T11:37:55.690 | data_quality | datascience.stackexchange.com | |
966,369 | Add an on-link route in netplan | I'm trying to replicate in Netplan the equivalent of [CODE] There's no "via" address. I've tried: [CODE] But unfortunately, netplan comes back with an error [CODE] Is there a fake 'via' address I should use? It seems netplan doesn't even have post-up hooks so I can't work around the problem. | In versions of netplan >= 0.40 you can use: [CODE] In older versions you can use the "::" catch-all: [CODE] | 0 | 3 | 9,604 | 2019-05-08T12:10:39.777 | infrastructure | serverfault.com | |
120,672 | How can I implement some data constraints on a neural network? | I want to implement a NN model to predict the cost of my car trips. My dataset is something as follows (this is just a small sample): [CODE] That is, given the distance (km), mileage (km) and fuel cost (€), I want to predict the cost of the trip. So I've implemented this functions in order to achieve it: [CODE] The iss... | You can impose monotonicity constrains in Tensorflow/Keras models with library Tensorflow-Lattice . I suggest you have a look at their Shape Constraints to understand how to apply it to your case, especially section "Monotonicity" . | 1 | 5 | 99 | 2023-04-03T14:16:48.677 | data_quality | datascience.stackexchange.com | |
228,895 | MVC Widget optimization when accessing CSS and Resources | So we're trying to re-imagine our web solution in an MVC fashion. Going from an old webforms based solution to working with ASP.NET MVC with a bootstrap main menu and adding functionality in the forms of widgets using HTML.Action() that calls a controller and action to fill in the information on that part of the page. ... | The browser will not request a resource from your server constantly with making some significant (and not easy to find) configuration changes. This goes for CSS, javascript files, images, etc. When the web server provides the initial request to a client, it also includes an expiration time for most objects. The browser... | 1 | 1 | 364 | 2014-02-13T18:56:30.347 | api_errors | softwareengineering.stackexchange.com | |
579,640 | Weird apache mod_rewrite behavior | I'm new to the site and I hope you can help me with an issue that happened to me trying to install Rhodecode. Here's the (long) story: I've managed to install Rhodecode inside a virtualenv in a linux box. Using the development server ( [CODE] ), i see it is running perfectly. However, I wanted to use Apache as a fronte... | Turns out there were two things that were causing this error. First is the default value of AllowEncodedSlashes, from the docs : [CODE] I discovered this by turning on maximum verbosity in apache logs and found this: [CODE] Thus, all my requests with %2F were rejected. Also, I had this configuration that came in my ser... | 2 | 0 | 2,515 | 2014-03-04T02:52:58.077 | api_errors | serverfault.com | |
793,458 | Running an API, if I correct a content-type header will that break things for customers? | We're running an API with quite a few people using it. Due to some legacy clumsiness on my part, one of the endpoints is returning the wrong content-type header , [CODE] when it should be [CODE] . My question is, if we fix this by swapping to return the correct value, how badly could it mess things up for our existing ... | how badly could it mess things up for our existing customers? It could completely sink their battleships if they've written code that relies on this Content-Type being incorrect. I would not expect the libraries to throw errors, but I expect that in some cases strict libraries have had their behavior overridden to hand... | 14 | 30 | 3,783 | 2016-08-02T19:41:37.500 | infrastructure | serverfault.com | |
187,138 | Is my restore process being badly affected by this third-party non copy-only backup? | This question may read like a duplicate, but is situation-based, and is posted from confusion applying the knowledge from other answers. I've read dozens of articles (among 1 , 2 , 3 , 4 ), but am finding conflicting opinions (based on my understanding, which is now suffering from information overload, or perhaps not i... | Maybe this will help you understand. Let's do a demo! We'll make a dummy database with some dummy data. [CODE] Now we'll take one full backup. Just one. Promise. [CODE] Now we'll make some changes and take some log backups. Just like real life. It's fun. No drinking yet. [CODE] Now we'll take an 'out of band' full back... | 7 | 9 | 857 | 2017-09-28T09:43:03.633 | database_errors | dba.stackexchange.com | |
516,801 | mod_negotiation and mod_rewrite | I'm trying to configure a URL scheme that a) allows the ".html" extension to be omitted and b) sends 403 (Forbidden) errors under certain conditions. However, with the following setup: [CODE] If I request [CODE] I get a 404 (Not Found) error complete with a 'None could be negotiated' line in the error log. Requesting [... | Based on the fact that you're omitting your leading slash from [CODE] , I'm guessing that this is configured in a [CODE] block or [CODE] file? That's actually the cause of the problem in this case; in that context, the rewrite rules are applied after the request has been mapped to the file system (and the [CODE] has be... | 0 | 2 | 452 | 2013-06-19T00:17:31.443 | api_errors | serverfault.com | |
519,272 | Apache2 conditional section based on port | I don't know much about if statements in apache configuration, and I'm wondering if I can have a section of the configuration applied only if the request is received on a certain port. In short, this is about SSL. I have name based virtual hosts, I can make a configuration for port 80, then duplicate it all for port 44... | Yes, starting from Apache 2.4, you can use [CODE] in your configuration file. Many other expressions inside the [CODE] bracket are also supported, e.g. actually checking for a specific port, as you suggested. For more details see the Apache docs . However, keep in mind that some directives will not work within an [CODE... | 4 | 6 | 2,995 | 2013-06-28T09:41:27.027 | data_quality | serverfault.com | |
368,315 | How can I see if mysql starts without errors? | Today I have changed mysql config file and restarted mysql with: [CODE] And saw the following: Stopping mysql database server: mysqld. Starting mysql database server: mysqld. Checking for corrupt, not cleanly closed and upgrade needing tables.. After that the mysql service started working, but later I saw errors on my ... | The daemon.log gets filled by syslog. So the only way see what happens in there during a normal startup is to type in another shell [CODE] If you want to be warned of bigger issues you can modify the init script. I had a quick look in the mysql init script: [CODE] and found that [CODE] is used to log the errors to [COD... | 0 | 1 | 819 | 2012-03-10T14:03:58.280 | data_quality | serverfault.com | |
2,647 | What program to use to change settings on db servers? | Having decided to set up a Master-Slave replication I found this article, which seems exactly what I want. So I fired up the MySQL Console in Navicat to give everything a try, and the commands do nothing. So it seems one of these is the problem: The MySQL Console is not the tool I want The MySQL Console on Navicat is i... | As a MySQL DBA, may I be so bold as to suggest my favorite tool? The mysql client program itself There are also a variety of startup options for the client program . Examples: [CODE] You see all the options by doing this [CODE] You can see global variables and status in the mysql instance using SHOW GLOBAL VARIABLES; a... | 5 | 3 | 264 | 2011-05-11T02:39:51.047 | database_errors | dba.stackexchange.com | |
532,039 | Apache basic auth for a particular URL | I have a site in production that I want to modify (translate from French to English). The modified part will be placed in the [CODE] URL location and I want to protect only this part with a basic HTTP auth during the modifications. I would like to have the same behavior as if I had a [CODE] directory on my web root fol... | I see... The code below will disable auth on only the callbacks directory, perhaps you can modify this logic so that it only enables authentication on the desired directory, or disable auth on all dirs whose name doesn't match the one you wish to protect. [CODE] | 8 | 4 | 23,289 | 2013-08-19T14:37:59.760 | api_errors | serverfault.com | |
523,445 | How to automatically update nginx upstream server list when aws ec2 hostname changes or increases? | I want to setup autoscaling in AWS. I don't want to use Elastic Load Balancer. Autoscalling in Amazon creates EC2 instances seamlessly during demand spikes to maintain performance, and decreases automatically during demand lulls to minimize costs. Since this EC2 instances are created automatically, their host names are... | This can be achieved by using Amazon SDK ( I am almost done with it, will put it on github ), utilizing the SNS, EC2 and Autoscaling service. I have followed the below steps to achieve this: Enable HTTP notification and subscribed my webserver. Added a lifecycle-hook with heartbeat of 1 min (to wait for 1 min before te... | 17 | 7 | 9,378 | 2013-07-15T16:29:29.647 | database_errors | serverfault.com | |
472,635 | How to completely remove New Relic application | My server is running Centos 5.8 64 bit and I installed New Relic a short while ago to try and solve a few performance issues - as the server is not especially high spec I found it used too much system resources so I removed it using the Purge method as recommended on their site. https://newrelic.com/docs/general/how-do... | Had the same problem. [CODE] did the trick for me | 3 | 7 | 9,272 | 2013-01-26T13:27:10.613 | infrastructure | serverfault.com | |
230,233 | HTTP Session: A single object or multiple? | I tested two approaches to store session data: The classic: 1 key, 1 object (And every key as [CODE] in a class) "user" --> UserObject "preferences" --> List ... An approach with only 1 object "sessionObject" --> SessionObject And my [CODE] contains [CODE] and the list of preferences as attributes. This is a fairly sim... | 1 key, 1 object will be more predictable regarding interaction with app server and possible session replication techniques. Not sure what you mean by "set of final static String" being necessary. You may manage session keys any way you like. Consider you have 20 preferences, and perhaps your preferences class has an en... | 3 | 1 | 3,273 | 2014-02-25T07:55:14.587 | api_errors | softwareengineering.stackexchange.com | |
355,476 | AP with multiple SSIDs and VLANs | I have some Cisco access points that I have configured with multiple SSIDs. Each SSID has its own VLAN. VLAN 1 for internal networking and VLAN 2 for external users and guests. Our juniper firewall is configured to accept connections from VLAN 2 and distributes separate DHCP addresses so devices on VLAN 2 only have int... | You probably want hybrid ports set as untagged members of vlan 1 and tagged members of vlan 2. Which vlan actually needs tagged/untagged membership will depend on other configuration elements, but vlan 1 is almost always untagged. | 0 | 0 | 714 | 2012-01-31T16:22:31.977 | infrastructure | serverfault.com | |
629,621 | .htaccess not working inside a firewall or proxy | I have a test site running with an .htaccess file defined like so: [CODE] This requires a user/pass for the entire test.mydomain.com area. I'm able to connect from almost anywhere, but for some reason, my client, who is inside a government firewall (so I'm assuming it's pretty restrictive) is NOT able to login. It keep... | If they have access to do this on their computer, you might want to see if they can try a different web browser. If they don't have admin privileges and can't install one, but it's not against their policies to do so, they could run a "portable" / standalone one which doesn't require an install. Another workaround woul... | 1 | 0 | 148 | 2014-09-18T18:57:43.263 | infrastructure | serverfault.com | |
116,509 | Gensim: create a dictionary from a large corpus without loading it in RAM? | The topic modelling library Gensim offers the ability to stream a large document instead of storing it in memory. Streaming is possible for the stage of converting the corpus to BOW, but the dictionary must have been created first and apparently this requires loading the full corpus: [CODE] Is there a way to create the... | Not completely sure if the issue having the full corpus in memory (i.e. the [CODE] variable) or having the full [CODE] in memory, but in the case of the first one it seems that the [CODE] method useful to add part of the corpus at a time: [CODE] | 0 | 2 | 111 | 2022-11-26T19:33:32.860 | data_quality | datascience.stackexchange.com | |
199,599 | Limit access to web site when bandwidth reaches limit | I have a video website running on a VPS under Apache2 that will soon start doing pay per view. Until it starts generating decent revenue, I don't want to invest in more servers, so to start with I need to provide a good enough service to the customers I get. I also host a couple of other websites, but these aren't expe... | You may also try looking at mod_bandwidth which is able to define Bandwidth Limits on server-wide or per connection bandwidth limits. It does not prevent further connections from happening, since this can be achieved using the [CODE] directive. Since I assume you are using mpm_worker it would be interesting what your s... | 1 | 1 | 378 | 2010-11-08T21:51:38.873 | infrastructure | serverfault.com | |
1,111,031 | How to detect an intranet SYN flood? | I got this problem: whenever I plug a Linux-server into the intranet, the whole network slows down and then die. Every ping/ssh connection between the intranet yields time out. I unplugged it, then everything came back to normal. Searching around suggested me (note, this is my assumption, I can be wrong) it might be an... | Enable logging on any firewalls on the affected network. Start a packet (and frame) capture on a couple affected switches and hosts, such as either end of your test pings. Plug it back in just long enough to reproduce the problem, and remove it again. Parse the frames and logs to understand what happened. Immediate deg... | 0 | 0 | 691 | 2022-09-19T07:56:15.377 | infrastructure | serverfault.com | |
270,402 | Multiple VLAN's and User Group Confusion | Am deploying and designing a new network for our sourly damaged design. I have never designed a network from the ground up, by my self. The simple run down is this : VLAN 1 - Production at the data-center. 10.10.0.0/24 VLAN 2 - Normal Users 10.10.20.0/24 VLAN 3 - IT 10.10.30.0/24 VLAN 4 - Voice 10.10.40.0/24 One DHCP S... | In short, the devices that route traffic between your various subnets (assigned to various VLANs) need to enforce communication security policy. At minimum, this means using routers (or devices with router functionality) that support stateless access control lists. If you want to get fancier you might use devices with ... | 2 | 7 | 470 | 2011-05-17T02:39:20.917 | infrastructure | serverfault.com | |
913,809 | VM becomes slow after some days of runtime with 48 GB of RAM, not with 6 GB | I'm dealing with a problem for some weeks now which results in a very slow VM-guest after the VM ran for some days. "slow" means that CPU-bound operations take more time than before and as well that those operations seem to accumulate over time. Reloading ClamD-signatures for example takes ~35 seconds and 100 % on one ... | This happens when guest uses lots of memory on NUMA machine. The KSM might merge similar memory pages of different VMs, sitting on different NUMA memory regions, causing the affected processes to crawl. Disable KSM merge_across_nodes: [CODE] If there are no pages shared : [CODE] make sure to set merge_across_nodes in /... | 2 | 1 | 801 | 2018-05-25T15:03:06.477 | pipeline_ops | serverfault.com | |
129,441 | Change AWS's Read Replica's streaming replication to trigger based replication | We have a Postgres RDS instance for which we have created a read replica instance. The problem we are facing is that, that whenever there is a long running query(about 30-40 mins) on Read Replica, it doesn't complete giving a conflict error. The reason for this conflict is that there was an update on the main RDS, whic... | The problem we are facing is that, that whenever there is a long running query(about 30-40 mins) on Read Replica, it doesn't complete giving a conflict error. This behavior is controlled by the parameters max_standby_streaming_delay / max_standby_archive_delay . You can fiddle with these parameters in the RDS Parameter... | 5 | 4 | 3,372 | 2016-02-16T18:32:36.143 | database_errors | dba.stackexchange.com | |
662,487 | postfix parameter default_privs | I have set [CODE] in [CODE] , which is a perl script, executed in the context of this user. In the perl script I added some debug to print out the user: [CODE] If the script is triggered by an incoming email, I can see that the script is running in context of user "myuser". Later in the script, I try to copy a file. I ... | OK, at least I have two references why this behavior happened in postfix. But I'm not sure what's concept behind below behaviour. One possible explanation was in this thread: GID, current, primary, supplementary, effective and real group IDs? . Maybe you can get the further explanation for the experts in unix.SE . Your... | 3 | 4 | 1,250 | 2015-01-26T18:11:42.320 | infrastructure | serverfault.com | |
628,588 | Can't disable password prompt for ssh | I try to disable password login for a user using ssh. Here's my [CODE] file [CODE] I believe these three directives are needed to make the change, however, after I reload, it doesn't make a difference. I am pretty sure I edited the [CODE] file, not [CODE] file. Any idea why? | As long as you restarted sshd after making the configuration change to /etc/sshd_config, you should be fine. Although it will NOT authenticate passwords after this configuration is set, it will continue to prompt for passwords to the best of my knowledge. I would restart ssh, then test using a known working password. Y... | 2 | 0 | 1,364 | 2014-09-15T13:29:08.387 | infrastructure | serverfault.com | |
3,185 | Firefox browser launches blank page while running tests via Selenium | I have created a simple test that launches browser and calls a URL. This works fine in IE but when I select Firefox (FF) browser it opens a blank page. See the code snippet below. The issue is similar to this post that concludes one has to change the settings in [CODE] 's [CODE] to 2. But in my case its already 2, henc... | This is because of compatibility issue with your browser and Selenium libs. Selenium libs 2.16 supports Firefox version 3.6 to 11, and for 12 you have to upgrade your Selenium libs to 2.22. | 6 | 3 | 25,335 | 2012-05-28T08:33:25.990 | data_quality | sqa.stackexchange.com | |
132,353 | kill -9 doesn't work | I have a server with 3 oracle instances on it, and the file system is nfs with netapp. After shutdown the databases, one process for each database doesn't quit for a long time. Each kill -i doesn't work. I tried to truss, pfile it, the command through error. And iostat shows there are lots of IO to the netapp server. S... | Process will get the KILL signal (all signals behave in the same way) only and only when it is in "userspace". If it is in kernelspace (for example waiting for a NFS share to deliver data read from file), it will not get the signal (the signal will wait until process returns to userspace, it will not get lost). Most NF... | 4 | 3 | 1,431 | 2010-04-14T07:19:29.203 | database_errors | serverfault.com | |
1,080,229 | How to get rid of secondary IP address without disabling dhcpcd (because there is no DHCP server anyway) | I have one system running RHEL7 that mysteriously keeps coming up with a secondary IP address in addition to the one I set statically. When I do "ip addr show eno0", it describes this secondary address as being "scope global secondary dynamic". There are no files in "/etc/sysconfig/network-scripts/" that call for a dyn... | The answer is easy, but does not seem very well known. In dhcpcd.conf, there are two options for that. Here is what the doc says : allowinterfaces pattern When discovering interfaces, the interface name must match pattern which is a space or comma separated list of patterns passed to fnmatch(3). If the same interface i... | 0 | 1 | 795 | 2021-10-11T19:02:39.587 | infrastructure | serverfault.com | |
112,827 | How can we create a table from stored procedure? | [CODE] Now, when I call this procedure by passing a String, it is not creating a table and showing this following error code: call create_tb_one(first) Error Code: 1054. Unknown column 'first' in 'field list' 0.00024 sec | I would do it with 2 steps: I would create a table template allowing to create as many tables as you want based on that table. Advantage is you only need to modify the table template, you don't need to touch the SP. Create a table template; [CODE] Use this code [CODE] | 0 | 2 | 12,074 | 2015-09-01T12:40:05.217 | database_errors | dba.stackexchange.com | |
59,020 | WSUS will not update or install updates on new workstations | Update : Unfortunatly I was never able to fix this problem, I am fairly confident that some mistake was made when installing it or porting the computers and authorization across. After several re-installs, I ended up installing it on the Default Website with SSL and re-authorizing all of the patches, fortunatly this wa... | Have you updated group policy to point the workstations to the new WSUS server? Intranet Microsoft Update Service Location - located in Computer Configuration / Administrative Templates / Windows Components / Windows Update | 1 | 1 | 42,743 | 2009-08-26T14:15:47.750 | infrastructure | serverfault.com | |
358,416 | Dell T410 Memory Upgrade - mixing sizes | We have a Dell T410 server using 4x2GB RDIMMs for a total of 8GB. I thought I would be able to replace 2 of those 2GB RDIMMs with 2x4GB RDIMMs to increase our total RAM from 8GB to 12GB. However, I am very confused by how this works. According to the manual: * Channel 0 is DIMM slots A4 and A1 * Channel 1 is DIMM slot ... | You'll want to put the 2 4GB RDIMMs in the first slot on each processor's side. They match. Then populate the other RDIMMs appropriately. When populating RAM, you typically want the largest in the first slots and then work your way down. | 0 | 3 | 2,294 | 2012-02-09T14:49:57.177 | infrastructure | serverfault.com | |
238,169 | Cannot register RADIUS server in Active Directory, Windows Server 2008 r2 | I'm trying to set up a RADIUS server in Windows 2008 R2 following the guide Install Windows 2008 R2 NPS for RADIUS Authentication for Cisco Router Logins . What I can't do is to register the RADIUS server to the Active Directory service which is located on the same server (see screenshot). I've tried to do this as both... | Solution: [CODE] | 2 | 2 | 9,884 | 2011-02-21T13:00:46.003 | api_errors | serverfault.com | |
39,621 | Predict the corresponding value in one column using a list of values found in another column | Please have a look at this link . This was a question I asked few months back and after some suggestions and exploring I was able to successfully use TFIDF along with MultinomialNB classifier to pretty accurately predict the 'Item' based on the [CODE] column. I wrote the answer myself to tell how I solve it. But this t... | Not a very clever solution though. But I managed to do some trick to make it work. I am not fully satisfied by the result but the algorithm is able exactly predict the [CODE] based on given [CODE] column. [CODE] Doing this removed all spaces in the text in [CODE] column and it ended up becoming one long string set. [CO... | 2 | 1 | 696 | 2018-10-13T08:59:51.030 | data_quality | datascience.stackexchange.com | |
476,030 | phpmyadmin not working in webmin | I had installed phpmyadmin in my Redhat Linux server machine (64bit). After installation when I tried to access the same with the URL [CODE] , it is showing an error: [CODE] then I tried to access [CODE] , it is showing this error: [CODE] and below this error only displaying "phpMyAdmin setup" and that's all. Also I ha... | In my case, httpd.conf was causing issues. when i removed virtual servers created through webmin, got it worked. and reconfigured the same. [CODE] | 0 | 0 | 4,764 | 2013-02-06T13:12:53.253 | infrastructure | serverfault.com | |
266,631 | TFS 2005 Server restore from one hardware to another | i have just performed a TFS 2005 restore from a dual server setup to a different set of duel servers after following the installation guide for TFS 2005 and following the Restoration steps i am having problems with the reports when i access the url http://localhost/reports ---> i can see all the data that i restored , ... | This might help: http://msdn.microsoft.com/en-us/library/cc668756.aspx#UpdateAccountIdentity | 1 | 0 | 51 | 2011-05-05T14:08:32.070 | database_errors | serverfault.com | |
717,194 | How to Specify which URLs have HTTP Authentication with NGINX | In my nginx configuration file I have successfully created HTTP Authentication for the whole website while it's under development. [CODE] I'm wondering if I can do two thing. Firstly can I set it up so the whole website is restricted except for access to a particular file in the root called heartbeat.php. i.e. [CODE] .... | Yes. You can achieve this. You need to have 3 seperate blocks for heartbeat.php, /admin/ & / Like below [CODE] Hope this helps. | -2 | 2 | 1,628 | 2015-08-27T09:53:51.817 | api_errors | serverfault.com | |
796,269 | Add ElastiCache Cluster to Elastic Beanstalk Application | I have an Elastic Beanstalk app setup utilizing the docker platform. Everything runs smoothly and I can redeploy the app using the [CODE] cli command. The app is setup on a custom VPC (something I barely understand) and is accessible via the web. I want to add a Memcached ElastiCache cluster to my app. I tried creating... | The [CODE] property is a list of one or more VPC security groups that will be assigned to the cache cluster. Make sure one of those security groups is allowing connections on port 11211 from either your EB application's EC2 instance's security groups, or a CIDR that includes your EB application's EC2 instances. Without... | 2 | 0 | 2,270 | 2016-08-11T15:02:41.903 | database_errors | serverfault.com | |
237,443 | mysql tuner - optimize table and cnf | I want to optimize my database and decided to start by running mysqltuner, but it showed me so many errors that I don’t know what to undertake, I couldn’t advise what configuration I should specify based on my server settings My tarif on Linode is: [CODE] I start my mysql tuner: [CODE] And my.cnf [CODE] How can I optim... | The tool almost always recommends [CODE] . Don't bother. It is almost always more trouble than benefit. There is no reliable formula for maximum memory. So ignore those [CODE] . [CODE] may or may not be an issue. Is your system running slower than you would like? If so, what are your 'slow' queries? [CODE] and [CODE] -... | 0 | 1 | 371 | 2019-05-05T19:58:28.843 | database_errors | dba.stackexchange.com | |
375,563 | DDoS false IP attack | Possible Duplicate: DDoS attack, how to stop? I'm getting 10MB attacks, IP spoofing, which is used fake IPs, causing high CPU usage of the machine, and falls all. What should I do to prevent it? Dedicated server configuration: Dual Core 2.8 2GB RAM Uplink 1Gbps Centos. Hug! | Contact your ISP and ask them to drop it before it reaches you. | 1 | 2 | 769 | 2012-03-31T19:18:29.403 | data_quality | serverfault.com | |
1,007,330 | Cannot `pip install flask` in Python3.6 virtual environment | I'm trying to follow a MS DevOps tutorial here: https://microsoft.github.io/PartsUnlimitedMRP/pandp/200.1x-PandP-LocustTest.html I've tried Ubuntu and CentOS, both produce the exact same failure: [CODE] However, there is no [CODE] in the virtual environment, so I'm at a loss: [CODE] Googling this has turned up nothing ... | I think the issue here is that you have created the vitualenv with sudo privilege or with someone else done it with a different user account. Try to recreate new virtualenv with your own account then issue pip install normally. Concerning sudo: pip : command not found issue, it's occuring because pip executable is not ... | 1 | 0 | 1,078 | 2020-03-17T23:41:10.287 | infrastructure | serverfault.com | |
80,232 | How do you handle the need to have multiple development environments? | How do you deal with different project environments? Every project might require a different database (oracle, IBM db2, mysql & etc), a different server (tomcat, IBM WAS, weblogic & etc) or some other new technologies. Every time a new database or new server comes in, I install them on to my workstation for my convenie... | The solution you mention is the one that I use. I am provided with VMware Workstation which makes it extremely easy to switch environment. I use one "dev" machine (or two - one for win7 and one for ubuntu). I then use multiple "production" environments which have different structure depending on the requirements. In th... | 0 | 1 | 1,190 | 2011-05-30T06:48:11.763 | database_errors | softwareengineering.stackexchange.com | |
85,957 | Limit number of outgoing messages in postfix | Is there some good way to limit outbound mail in postfix? I want to limit number of sent messages by domain per some time interval. Imaginary example: I have email accounts in 3 different domains: tld1, tld2 and tld3. It is not relevant how many accounts in what domain. All accounts in tld1 can send at most 20 messages... | I suspect you want policyd -- it appears to do what you want. | 0 | 2 | 2,526 | 2009-11-18T16:57:05.357 | infrastructure | serverfault.com | |
898,669 | Is is possible to use AWS Storage Gateway as an iSCSI target for ESXi? | Summary Is is possible to use AWS Storage Gateway as an iSCSI target for ESXi? -- or -- AWS Storage Gateway volumes not showing up in ESXi iSCSI device list - what's up with that? TLDR: Based on this VMWare forum post , it sounds like it's not possible to use an AWS Storage Gateway volume as an iSCSI target for VMWare ... | Short answer: Yes it's possible. Long(er) Answer: You (I) did one critical thing wrong: using a physical adapter that is not connected If you plug in that adapter to your switch and make sure that it's on the same subnet/VLAN as your storage gateway VM, then you should be able to connect. Why the same subnet/VLAN? Base... | 1 | 0 | 838 | 2018-02-23T23:49:44.010 | infrastructure | serverfault.com | |
359,408 | Why do many functions that return structures in C, actually return pointers to structures? | What is the advantage of returning a pointer to a structure as opposed to returning the whole structure in the [CODE] statement of the function? I am talking about functions like [CODE] and other low level functions but probably there are higher level functions that return pointers to structures as well. I believe that... | There are several practical reasons why functions like [CODE] return pointers to instead of instances of [CODE] types: You want to hide the representation of the [CODE] type from the user; You're allocating an object dynamically; You're referring to a single instance of an object via multiple references; In the case of... | 60 | 67 | 38,196 | 2017-10-19T13:42:42.827 | api_errors | softwareengineering.stackexchange.com | |
410,883 | .htaccess not being read in var/www but is in /var | I installed apache2.2, php5, and mysql all with apt-get install. I am using vmware for a Ubuntu 11.04 VM. I am having trouble getting .htaccess being read in the document root. Here is my apache.conf: [CODE] Here is httpd.conf, please notice the DocumentRoto and the Directory directives.: [CODE] Here is the .htaccess f... | You mention using [CODE] to install all this, but you don't mention having disabled the default site provided by the Debian packages using [CODE] , which means that the default settings are still being loaded from /etc/apache2/sites-enabled/default. Part of that default site is: [CODE] Which is overriding your setting.... | 0 | 0 | 759 | 2012-07-25T00:09:01.030 | api_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.