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 |
|---|---|---|---|---|---|---|---|---|---|---|
112,282 | How is an idle SQL Server connection causing blocking? | I have a busy, transactional SQL Server (2012) which is having intermittent problems with blocking (every couple of days or so). I've been using extended events to capture blocked-process reports, but these show that the blocking-process seems to be idle, with the input buffer being [CODE] . The application connecting ... | If you're comfortable with Data Collector, you could download and install ExtendedTSQLCollector and set up a collection set to capture Blocking and Deadlocking events with XE. I have a blog post that explains how to do that . In order to collect sleeping SPIDs that cause blocking, you could set up another collection se... | 4 | 2 | 7,280 | 2015-08-26T16:01:29.557 | pipeline_ops | dba.stackexchange.com | |
55,889 | Is it possible to optimize this query? Or any recommendations to speed it up? | After looking at my mysql slow log file I see that almost every entry there is related to this query: [CODE] Slow log shows this stats: Query_time: 1 Lock_time: 0 Rows_sent: 20 Rows_examined: 1981034 As you may see it joins 2 tables - node (45000 rows) and votingapi_vote (only 705 rows for now). votingapi_vote will gro... | If presented with this situation I would test the performance improvement of this: Add two fields to the [CODE] table: [CODE] , [CODE] Add a generated field to the [CODE] table [CODE] which is stored and indexed with a descending sort on the index key. Add a trigger to the [CODE] table so that when row is inserted the ... | -1 | 0 | 173 | 2013-12-31T17:24:55.923 | database_errors | dba.stackexchange.com | |
352,311 | Sleep/Suspend and WOL on FreeNAS | I am trying to figure out how to get FreeNAS 8 to sleep when inactive and, ideally, wake on lan activity (or, less ideally, wake on a WOL magic packet). However, as I've tried to search for information on how to do this, almost all discussions seem to be centered on FreeNAS 7. Also, the tools included in FreeBSD to do ... | There is no way to get FreeNAS to do a suspend, because AFAIK they didn't compile the necessary ACPI stuff into the system. Actually I think I've been wrong here! I just found acpi feature request and trac commit log . It sounds a little vague though, so you may want to ask at FreeNAS Dev Mailing list | 4 | 2 | 15,537 | 2012-01-21T21:11:52.230 | infrastructure | serverfault.com | |
605,543 | Solr: Using multiple SQL server data sources results in error: "...\sqljdbc_auth.dll already loaded in another classloader" | I have one Solr instance running in Jetty with JRE 8 with 3 collections (same as cores, yes?) and more to come. I am indexing data from SQL Server, connecting using NTLM as the identity of the Java process. The first core indexes fine, the second one has an error. Here is the abbreviated stack trace. [CODE] Based on th... | Place the SQL server (or jTDS) JAR in Jetty's boot classpath or the JRE lib/ext folder to make sure it is loaded early. | 0 | 0 | 1,976 | 2014-06-16T17:44:10.130 | database_errors | serverfault.com | |
273,807 | All connections from this network get stuck in SYN_RECV state, connections from my home or phone properly get ESTABLISHED | My server (a linode VPS) suddenly started to timeout on every request yesterday. I'm pretty inexperienced in networking and would love to learn a process for debugging these connectivity issues. What confuses me is that yesterday, some people (my phone, me at home, friends at home) could consistently access the site an... | To this jaded eye, it looks like there is some kind of routing issue close to the server in question. Packets come in along one path, but seem to depart through a different path and something stateful is on that path and dropping the weird "ACK without a SYN" packets. I had this happen to me once. What ended up being t... | 6 | 7 | 33,622 | 2011-05-25T20:50:00.760 | infrastructure | serverfault.com | |
300,732 | Data from other user not visible | I am using Oracle and SQL Developer to create a database. I am fairly new to SQL, so this may be a simple question. I have my SYSTEM user, who owns several tables, for example this one: [CODE] I also have user m1001 with this permissions: [CODE] When I inserted a row in m1001's workspace: [CODE] it was successful. I ca... | I have my SYSTEM user, who owns several tables Do not use any pre-defined usernames that come with the database itself. You have no idea what Oracle might choose to do there in the future, and if Oracle were to introduce a SYSTEM-owned table with the name as yours , then either your application or the database itself w... | 0 | 3 | 602 | 2021-10-06T12:52:12.737 | database_errors | dba.stackexchange.com | |
826,647 | Reverse proxy a remote IMAP/SMTP server with NGINX | Is it possible to reverse proxy a remote (managed by another company, think Google Apps or Office 365) SMTP/IMAP server through NGINX? Example: I host [CODE] , and use [CODE] to host my mail. I tried adding 2 CNAME records on [CODE] to accomplish this, but it didn't work. [ [CODE] -> [CODE] , etc] Preferably, I want on... | In my opinion the NGINX mail proxy server guide lacks of one very important information that was necessary for me to get something similar working: Using a PHP Script on an Apache Server as the IMAP Auth Backend I spent some weeks to find a working solution as mocking the auth service was not working properly for me. A... | 3 | 3 | 24,587 | 2017-01-17T00:09:39.757 | infrastructure | serverfault.com | |
978,518 | Chef: Kitchen Converge fails on Windows 10 Guest using Vagrant FileTransporter Error | As described in the bug I created here: https://github.com/test-kitchen/kitchen-vagrant/issues/407 When I perform a kitchen converge on a freshly created Windows 10 box, it connects and begins syncing the cookbooks locally on the box, but it fails with the error: [CODE] | One work around to this issue I've discovered so far is to manually create the: c:\tmp\kitchen\cookbooks empty directory on the box before running kitchen converge. This fixes the issue and causes the converge to happen successfully, but using this approach permanently isn't ideal as you would need to either bake it in... | 0 | 0 | 294 | 2019-08-08T16:51:18.673 | pipeline_ops | serverfault.com | |
1,123,192 | nmap vulnerability scan reports " smtps on port 465 ssl-dh-params" vulnerability, on Ubuntu 20.04 webserver. How to close the vulnerabilty? | I am running an Ubuntu 20.04 LEMP (Linux, Nginx, MariaDb, PHP) email/web server. I am also doing some nmap vulnerability tests form my MacOS Client machine. On MacOS, I am using Oh My Zsh! with the nmap plugin enabled. To do some vulnerability tests on my Ubuntu Server from my MacOS client machine, I issued the command... | Anonymous TLS is the kind of configuration is also known as "TLS without certificates". There is no chain of trust for server's keypair, therefore absolutely no protection from MitM attacks. Certificates were invented exactly to fight this issue. Related Postfix documentation page is TLS_README . Postfix smtp server (w... | 2 | 2 | 709 | 2023-02-17T21:02:52.200 | database_errors | serverfault.com | |
479,148 | Will virtualizing a server mean another OS layer to patch and update, more work and greater risk? | I've done a search and have not found anything addressing issues regarding patching and system updates. I've got guidelines that say servers need to have necessary patches. If I have a VM host then is that an extra layer to patch and update - even with bare metal hypervisors? As opposed to having a metal server? (ie mo... | Yes, products like VMware should be patched sometimes ( the updates are cumulative ), but the patches come less frequently than a mainline operating system and the potential attack vector is smaller - your hypervisor should not be publicly-accessible . I'll use VMware ESXi version 5.0 (not 5.1) as an example... ESXi 5.... | 27 | 20 | 905 | 2013-02-15T09:59:06.307 | infrastructure | serverfault.com | |
61,323 | Error encoding categorical features using sklearn pipelines | I am new to sklearn pipelines and am using this post as a guide for my code: https://www.codementor.io/bruce3557/beautiful-machine-learning-pipeline-with-scikit-learn-uiqapbxuj I am trying to encode a categorical features using a transformation pipeline, but no matter what encoder I use, I get the same error. As far as... | In this line: [CODE] Because your input type is string, you shouldn't fill the null value to [CODE] (we cannot average string value). From the document , you can fill null value with a string constant like: [CODE] to represent null value in your string field. | 0 | 1 | 1,425 | 2019-10-06T02:34:05.990 | pipeline_ops | datascience.stackexchange.com | |
317,339 | Should composition happen no matter what? | I feel like I should be able to register all my components into the application composition root container no matter what the current state of the environment is, even in the case environment lacks parts of configuration required to proper working of some of its components. Currently, I sometimes run into code that for... | Should composition happen no matter what? No. If that's a good enough answer for you, you don't need to read the rest. As with everything in programming, you shouldn't use a programming approach just because someone mentioned it somewhere and said an apple is better than a beef steak. Yes, a beef steak might be better ... | 1 | 9 | 254 | 2016-05-02T12:29:06.337 | pipeline_ops | softwareengineering.stackexchange.com | |
252,736 | PHP out of memory error with but no line number given for the error | I've written a small survey app for a client, nothing particularly complicated, that asks some questions of a client and then records the answers in a database. It works perfectly on my computer, a development server that we have and the clients staging server. However on the clients live server we keep getting the fol... | Allowed memory size of 268435456 bytes exhausted There's something very wrong going on here. I believe there must be some issue with the configuration on the clients server You have provided no reason for your belief. First thing I'd be looking at is the SQL this is running and the slow query log; at a guess you're fet... | 0 | 0 | 501 | 2011-03-28T14:06:48.127 | infrastructure | serverfault.com | |
8,691 | Custom metric for a Windows process on a Windows ec2 instance | I have a process (exe) on a Windows ec2 that is using up lots of memory. I would like to create a custom metric that will collect data and send to CloudWatch. I would like to also create an alarm when a certain threshold has been reached or surpassed. | Memory consumption is a metric that has to be reported from inside the guest (EC2 instance). You can use a CloudWatch agent to collect metrics from the guest directly. The agent also supports custom metrics now. Alternatively, install a third party monitoring system. Which also means that you'll have to get an agent ru... | 0 | 1 | 236 | 2019-07-23T22:21:21.153 | pipeline_ops | devops.stackexchange.com | |
262,322 | SQL Server column type = Date not accepting dates as varchar in insert statemant | In T-SQL, I am trying to insert values in a date table, US & French dates. When table is created with columns as DATE, the insert does not work, it errors. When I switch to VARCHAR(12) instead of DATE for those columns, INSERT works fine My server is windows 2012, english Microsoft SQL Server 2016 (SP2-CU10) (KB4524334... | SQL Server, internally, stores dates in a binary representation. All dates from whatever source are in the same representation. So a date is a date is a date whether it originates in Paris, London or Stockholm. Since humans aren't great at communicating in binary, by and large, we have to pass values to SQL Server in a... | 0 | 3 | 840 | 2020-03-19T19:58:07.030 | database_errors | dba.stackexchange.com | |
200,005 | psql, I try to connect to a database and I get "psql: FATAL: Peer authentication failed for user ", why? | I'm using psql (9.2.23) on my Dell Latitude 3540 laptop running Linux CentOS 7 . I want to do a simple thing: create a database username and log in as that username. My operating system username is "davide", and the username I'd like to create and use in psql is "davide3". My laptop name is "laptop". Here are the steps... | You're not asked for a password because the [CODE] configuration file in CentOS says that a connection through a Unix domain socket implies the [CODE] authentication. [CODE] succeeds only if your OS user is the same as your database user. It's a reasonable default. You may edit [CODE] to indicate that anyone can connec... | 3 | 3 | 5,655 | 2018-03-12T16:38:11.983 | database_errors | dba.stackexchange.com | |
213,218 | Okay to run sp_refreshview against all views on a regular basis? | Microsoft SQL Server has a system stored procedure called sp_refreshview which updates the metadata of the view that's passed in. Are there any downsides to running this procedure regularly on all of my views? (Such as performance statistics being affected, etc?) Could I run it nightly, hourly, every few minutes? If th... | there's potential for the underlying entities they reference to change This is the problem, and you should solve it at the source. If you are updating objects in the database frequently enough that you have to automate frequent metadata corrections, there is probably an opportunity for better processes. And you shouldn... | 5 | 7 | 1,860 | 2018-07-25T16:41:27.367 | database_errors | dba.stackexchange.com | |
41,125 | How to call a keyword recurvisely in Robot Framework | I have a keyword which checks, if a button value is Completed, once it is found, I want that keyword to stop and return the status. However the the button value Completed is not fixed to any time interval. I want to call the keyword recursively to check for value of button at every 3 minutes. [CODE] How to iterate this... | You could use [CODE] The keyword will repeat executing until it succeeds you can specific the time to repeat the keyword like so [CODE] | 1 | 3 | 1,798 | 2019-10-07T09:23:57.760 | data_quality | sqa.stackexchange.com | |
446,946 | Memcache/Elasticache holding many user passwords in memory instead of DB | I have two servers in AWS. One is a live production server (a multi site WordPress installation with hundreds of sites and about 5,000 users) and the other is a clone of prod that is being configured for a test server. The live one has four array servers, an Elastic Load Balancer and is connected to a large RDS in AWS.... | Your cache got overwritten with data and session information from the test instance. Use a memcached client to clear your cache. Rebooting the cache cluster might do that as well. Resetting your password also resets your sessions, which is why that was a possible solution. That said, your security groups are probably s... | 4 | 1 | 1,029 | 2012-11-09T00:41:06.577 | database_errors | serverfault.com | |
199,367 | service xend start hangs after server crash / reboot | Folks, I've had a CENTOS box running two xen VMs for a couple of years. Yesterday the ISP had a heat problem and the server went down. Now the host OS on the box is back up but I can't restart the XEND service. I do the 'service xend start' and the only output I see in the log file is: [CODE] When I Ctrl+c the start co... | Just in case it is of use to future generations. The issue appeared to be a corrupt install of the Xen libraries. Likely when the server crashed they got subtly munged. Doing an upgrade using a new RPM solved the problem. The existing VM images could then be started and used unchanged. | 1 | 1 | 1,237 | 2010-11-08T13:44:06.677 | infrastructure | serverfault.com | |
176,645 | IIS6 and Windows Server 2003 unable to access ASP.Net site through external IP Address | When I access the site from the server itself (via remote PC) or within the network using the name of the machine I can access the site just fine, but when I try to use the external IP of the server I get generic errors If I specify the path completely (i.e. https :// server/MYApp/Default.aspx) I get: "The resource can... | It sounds to me like your site is not set to listen on the external ip of the server, go into the site bindings and add that in. By the sounds of it, your default site is listening on that ip so you may need to either add a host header with this, or remove the ip from the default site. | 0 | 0 | 348 | 2010-08-31T18:26:00.307 | infrastructure | serverfault.com | |
137,909 | How to put 1000 lightweight server applications in the cloud | The company I work for sells a commercial desktop/server app that runs on any non dedicated Windows PC or server and uses Tomcat for all interactions with the application. Customers are asking that we host their instance of the application so they don't have to run it locally on their own servers. The app is lightweigh... | You could use Amazon EC2 for this as long as your app will run on a Small Instance. A small instance is: Small Instance (Default) 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of local instance storage, 32-bit platform If you purchase a reserved instance, this would cost you: 1 y... | 2 | 4 | 181 | 2010-04-28T14:26:07.070 | api_errors | serverfault.com | |
76,148 | deep learning and uncertainty estimation | Recently I got very interested in NLP applications of deep learning. Diving into literature (on arXiv for instance) I noticed that is very unpopular to quote and estimate uncertainties on scores of ML tasks. In the era of pretrained language model (i.e. bert, gpt etc.) all further improvements quoted in papers seems to... | In Physics, the uncertainty of a value can be calculated or estimated from some well established rules. For various reasons, these rules are not as well established in Machine Learning/AI. The actual uncertainty value in a machine learning model can suffer from several issues, which are difficult to detect or track dow... | -1 | 0 | 68 | 2020-06-17T09:37:58.517 | data_quality | datascience.stackexchange.com | |
310,566 | How to free up hard drive space after deleting millions upon millions of records in mariadb | We have an application where we are receiving information seconds apart, we record this information in a table that we call events, which currently weighs 240 GB, this is the largest we have so far. Some time ago we deleted records to keep records from a specific date. Not long ago we realized that the server that stor... | It is correct that InnoDB tablespace files never shrink. There may be unused space within a large file after you delete a lot of rows, but the file still occupies a lot of space on your filesystem. The only way to make the file smaller is to copy the remaining data to a new tablespace and then drop the original tablesp... | 5 | 2 | 6,564 | 2022-04-05T16:54:44.547 | database_errors | dba.stackexchange.com | |
158,539 | mongoDB : Restoring space after db.repairDatabase | This is my first post in this forum and also I am very new to mongoDB. Before posting I searched for existing posts relating to repairDatabase but everything looks in advanced stage. My query is very basic. If you look below series of simple operations i.e. insert documents and deleting documents and finding the occupi... | I am bit confused about the size before and after the [CODE] . I was thinking space should get release. I haven't tried compact option In general you should consider the [CODE] command a last resort to be used when you actually need to salvage or repair a database and don't have a better data source to copy from (eg. a... | 0 | 2 | 1,531 | 2016-12-19T08:57:12.230 | pipeline_ops | dba.stackexchange.com | |
676,908 | db servers direct ethernet connection | We are planning to setup 2 mysql servers in master-master replication Is it possible to use direct Ethernet connection over gigabit ethernet port on the 2 servers? Is there a way to bind mysql server(or any other process) to bind to a ethernet link i.e. eth1, so that it does not accidentally uses the default link which... | Looks like you can only bind MySQL to 0, 1 or all interfaces on a system ( MySQL: Bind to more than one IP address? ) You could try having MySQL bind to all interfaces on your server, configure a private IP space for the two directly connected NICs and configure MySQL to replicate using those private IP addresses. Exam... | 0 | 0 | 178 | 2015-03-20T04:06:40.070 | database_errors | serverfault.com | |
318,354 | Using wordpress for a journal - How to restrict access to all but a mobile client? | I'm looking to start keeping a journal for my life so i can archive events and tag them etc while at the same time making it as easy as possible for me to update (so I actually stick to using it). I use wordpress a lot and think it will fit the bill, but would like to restrict access to it as much as possible. I plan o... | You can restrict access based on User agent, something like this: [CODE] | 0 | 1 | 68 | 2011-10-04T15:01:33.233 | hadoop_errors | serverfault.com | |
273,882 | mysql has two pid files | I just finished re-building my (5.7) slave from a hot backup. When I issue [CODE] it just "sat" there for over 20 minutes. It usually takes less than 10 seconds for the service to start. When I look at my server status, I see two mysql processes [CODE] I stopped and restarted my service and there are two different PIDs... | yes this is normal, mysql can so handle multiple requests, like apache webserver or firfox which do the same. actually 2 is quite low, , if the number of requests/connections increases so will the number of proce4sses(till max Connections is reached). Two means that you and a free process are at the moment connected | 0 | 0 | 557 | 2020-08-17T15:50:25.580 | database_errors | dba.stackexchange.com | |
661,141 | Azure CDN returning 404 not found for Storage Container Blob endpoints | My Azure CDN does not appear to be correctly mapped to my Storage Container Blob data. Storage I've created a Storage, which is online: Inside is a Storage Container: http://jasonsturges.blob.core.windows.net/cdn My Storage Container has blobs defined, which are functional: http://jasonsturges.blob.core.windows.net/cdn... | Make sure you've made your container public. In your Azure portal go to Storage, select your store and then select your 'Containers' tab. From here select the container you want and click 'Edit' from the menu at the bottom. This triggers a popup where you can set your access to public. | 2 | 1 | 7,411 | 2015-01-21T07:31:54.337 | pipeline_ops | serverfault.com | |
381,843 | Naming conventions for .net C# Unit test projects for better sorting | I currently use the following naming scheme for my unit test projects.. if I have a project "MyApp", I will have.. [CODE] I see this is quite a common practice. Now, the problem is, if I then have another project MyApp.Common. Now in solution explorer, my projects are sorted [CODE] So my [CODE] is no longer "next to" t... | Forgetting the sorting issue for a moment, [CODE] is the better naming scheme. It clearly indicates which project the tests belong to, and it follow the general naming approach of subdomain naming. But as you point out, this does lead to a bit of a sorting issue when you test both a particular domain and its subdomains... | 6 | 5 | 11,071 | 2018-11-22T02:02:34.667 | api_errors | softwareengineering.stackexchange.com | |
316,172 | Mariadb: Sometimes inserts made during mysqldump are stuck forever in Updating state, and then service mariadb restart never finishes - how to debug? | I have a simple innodb Mariadb database used for logging (only inserts with [CODE] into a single large table). I back up the database nightly with [CODE] while inserts are running (usually under 5-10 inserts per second, on a Hetzner VPS instance with SSD). Randomly (once in cca 7-14 days) the inserts made during the [C... | So far it seemed like I/O got too busy, and was never able to catch up. I tweaked some InnoDB variables, installed jemalloc allocator (that wasn't enough), and in the end I doubled the instance RAM from 4GB to 8GB, and so far I haven't seen it happen in past 2 weeks. Changes in config: [CODE] | 0 | 0 | 252 | 2022-08-29T07:24:48.797 | database_errors | dba.stackexchange.com | |
123,202 | MaskRCNN.train gives 'list index out of range' | I have been trying to use MaskRCNN with a Resnet backbone on the DeepFashion2 Dataset for instance segmentation. The custom configurations are as follows: [CODE] However, I get a 'list index out of range' error on calling model.train(..) and from the error stack I can't seem to figure out where exactly the issue is. At... | Update I've narrowed down the issue to a possible Tensorflow version incompatibility. Though I don't have all the specifics, it seems the problem might be related to this. To provide more context, I was working with Kaggle kernels to run the model. Initially, I was modifying an existing notebook in an attempt to reuse ... | 0 | 0 | 44 | 2023-08-11T21:04:01.253 | data_quality | datascience.stackexchange.com | |
416,813 | Is there a rule of thumb for when Group Policy GPO edits will require 1 or 2 restarts? | I've noticed that GPO edits sometimes require 0, 1, 2 and even 3 restarts. In all of these cases I made the policy change in the LAN domain controller and then forced replication to all servers. However, after running [CODE] and or [CODE] on client machines with [CODE] , rebooting, and logging in, the changes were not ... | There are a number of GPO settings that can be applied without a logoff or reboot. In fact, most GPO settings can be applied without a logoff or reboot. Some settings that do require a logoff or reboot include, but are not limited to: Startup scripts Logon scripts Folder Redirection Software Installation Why it sometim... | 3 | 5 | 802 | 2012-08-13T01:19:53.387 | database_errors | serverfault.com | |
310,500 | Does any RDBMS "inline" a 1:0-1 relationship's dependent table? | In the case of a [CODE] relationship between a principal table [CODE] and dependent table [CODE] , when commonly-used queries will read from both [CODE] and [CODE] , do any RDMBs inline [CODE] to eliminate the need to store [CODE] separately (and maintain [CODE] 's indexes, and other costs). I want to invoke Codd's pap... | The most common one's don't automatically do this, as far as I'm aware, and probably for good reason. Your question is under the assumption that one would always want to query for all of the columns between the two tables. If that were the case, why even have two tables to begin with? " It also means that concurrent ap... | 1 | 1 | 46 | 2022-04-04T02:13:48.183 | warehouse_errors | dba.stackexchange.com | |
105,428 | Subquery magic in PostgreSQL | I have a query: [CODE] And it takes 7 hours to complete. However, when I execute the subquery: [CODE] I get the error: column "product_tmpl_id" does not exist There isn't a column [CODE] in the table [CODE] . It was my mistake. The first query should have been: [CODE] And it onle takes several seconds to run. So my que... | why didn`t the first query fail? Because this is valid SQL. First of all consider that it is valid to run a [CODE] against the table that doesn't reference any columns from that table. [CODE] The above will return a single row result of [CODE] if any rows exist that match the [CODE] clause. Secondly consider that it is... | 4 | 6 | 515 | 2015-06-29T12:14:50.937 | database_errors | dba.stackexchange.com | |
17,063 | How to monitor a NLB cluster with multiple web applications? | I'm actually a programmer but I have been involved some in system administration lately as I believe the actual administrators might not be that interested in their work. I believe they are using WhatsupGold for monitoring, even if I've heard something about Tivoli too. Anyway, we have a Windows Server 2008 environment... | There's probably a few ways to do this. The load balancer has a public facing IP, we'll call it A, and each of your servers has an IP, we'll call B, C, and D. Normally the end user points to A and the NLB forwards the request to B, C, or D returning the results. You could monitor B, C, and D directly looking for the OK... | 1 | 1 | 6,285 | 2009-06-01T18:51:05.533 | pipeline_ops | serverfault.com | |
268,975 | What steps can I take to determine if my server is under-provisioned for memory? | My server is running SQL Server 2016. The environment is fairly high workload with a lot of write transactions and reading of the data throughout the day. I have a hunch the server isn't provisioned with enough memory and would like to dig in and see if that's so. What are the best ways to determine if and how much con... | Here are several perfmon counters you can use as a starter. Memory Grants Pending - This is a counter that tells you if there any queries waiting for a memory grant (memory allocation). This should actually be 0. If it is consistently more than that, you have an issue. Page Life Expectancy - This is the estimated amoun... | 5 | 9 | 4,438 | 2020-06-11T17:56:16.190 | database_errors | dba.stackexchange.com | |
727,267 | How to restore files deleted from server | An employee accidentally deleted a folder from our fileserver. Is there way to restore this folder without having to restore our backup? (As this would undo a lot of work in other users' folders.) Shadow copies aren't enabled so that isn't a solution. Also, what could we do to prevent this problem in the future? Can we... | NTFS does not immediately delete the contents of files, neither does it delete the file name. The MFT entries may still be there, just marked as deleted. Therefore it can be possible to restore files by marking removing the "deleted" flag. However, please note that the more changes are made to the disk, the unlikely th... | 0 | 0 | 161 | 2015-10-07T08:34:17.170 | database_errors | serverfault.com | |
1,093,513 | Failed instance in google compute engine | I have an GCE instance which has been running for several years. During night, the instance was restarted with following logs: [CODE] However the instance did not restart. I can connect to the serial console where I see this: [CODE] It seems that one of the disks cannot be connected – but what can I do about it now? Th... | I am afraid that you cannot do anything with this affected VM. In Host Events documentation or FAQ you can find information: A host error ( [CODE] ) means that there was a hardware or software issue on the physical machine hosting your VM that caused your VM to crash. A host error which involves total hardware failure ... | 2 | 3 | 1,728 | 2022-02-13T07:48:32.013 | infrastructure | serverfault.com | |
734,887 | Multiple ssl configuration on different ports | I have been searching this for some time and couldn't get to a speicifc answer. I have configured a sever in CentOS env, with the following configuration in my vhost.conf: [CODE] As you can see I have configured 2 sites on different ports with same ip. Now I am trying to configure ssl on both the sites, I want the http... | You cannot, practically speaking, have both a HTTP and a HTTPS service running on the same port. That is why the default ports for both protocols are different (80 and 443, respectively). This means that your service on port 83 can be either HTTP or HTTPS, but not both. You'll need to pick a separate port to be availab... | -1 | 2 | 70 | 2015-11-09T07:35:42.640 | infrastructure | serverfault.com | |
1,004,569 | fail2ban on Raspbian does not create iptables jails | I installed fail2ban 0.10.2-2.1 on Raspbian Buster to protect ssh (and if that works, apache). The default installation only enables de sshd jail, but in my case that does not seem to work. The fail2ban-client reports that the jail is running: [CODE] However, when I check if iptables rules are created, it shows no chai... | It turns out that the answer is twofold. First, there is a change in how fail2ban works. Newer versions of fail2ban will not immediately create chains in the firewall configuration, but only upon first trigger. This explains why a new fail2ban installation does not show chains in iptables -L. To test the creation of th... | 0 | 4 | 1,886 | 2020-02-25T21:43:07.957 | infrastructure | serverfault.com | |
892,955 | Low random read IOPS intel dc s4500 | i have very bad read performance on my new intel ssd. My configuration is: HP proliant DL360e gen8 with Smart Array P222 controler. Intel ssd dc s4500 960GB 64GB ram 2x Intel cpu I have 2x SAS HDD 7200rpm(raid 0), 1x consumer Samsung SSD (raid 0) and 1x Intel s4500 (raid 0). Operating system is intalled on SAS drives (... | Is there a filesystem on this drive? If so, then you're likely to get benchmark results that are lower than the officially-published numbers. Your benchmark tool will be doing I/O that goes through the OSes filesystem layer, which can be a bottleneck. It's better if you leave the disk raw/uninitialized and use a tool l... | 1 | 0 | 617 | 2018-01-19T01:31:10.997 | api_errors | serverfault.com | |
68,778 | Submitting Large file of MySQL commands | I have a large file of MySQL insert statements that I need to submit to a database. Normally I would just "cat $FILE|mysql -u$USER -p$PASS database". The problem is, that the file occasionally has errors in it, causing this command to fail. It is safe for me to skip the lines with errors, but undesirable to re-submit t... | Why don't you just provide the --force option to mysql and use your cat | mysql .... [CODE] | 0 | 2 | 70 | 2009-09-25T18:05:42.127 | database_errors | serverfault.com | |
25,946 | CUDA_ERROR_OUT_OF_MEMORY | I have a large network that is somewhat similar to Wavenet. Although (it seems) that my GPU has enough memory, I get an out of memory error on fitting (see logs below). Any idea? How can I troubleshoot these kind of CUDA driver issues? 2017-12-22 23:32:05.288986: I C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\... | Did you try to start your training with a smaller data set and that worked? How about using generators to gradually input your data? For me that worked quite well (in Keras : model.fit_generator(...)) | 0 | 0 | 2,113 | 2017-12-23T21:53:29.453 | pipeline_ops | datascience.stackexchange.com | |
105,153 | Gitosis installation error | I am trying to install gitosis on my server but keep getting the error "Username contains not allowed characters" [CODE] with the username "abhinav@115.118.212.234.static-delhi.vsnl.net.in". Any fix for this? | This is usually a problem with your 'username' in the id_rsa.pub, open it up, and make the text at the end something like 'alan.pub' | 1 | 0 | 192 | 2010-01-21T19:40:55.883 | infrastructure | serverfault.com | |
319,138 | REST is not appropriate for business applications because of necessary to distribute business logic accross layers. REST alternative required! | I have Spring+Java Server Faces (Facelets) application for which I would like to create Single Page Application (SPA) version, e.g. using AngularJS (which is the best and most popular GUI framework). But after some investigation of technologies I have come to conclusion that REST (which is necessarity for AngularJS) ir... | There is a gross misconception somewhere. I think it is near this idea. In Spring+JSF application all the business logic was encoded in special layer - Spring entities and services. In Spring+REST+AngluarJS this should be different. I don't want to rewrite (move) business logic from Spring/Java to AngularJS/JavasScript... | 2 | 6 | 1,355 | 2016-05-21T11:19:00.903 | pipeline_ops | softwareengineering.stackexchange.com | |
334,102 | How to change defaults in oracle docker image | I have been trying to change a few defaults in the database and set a language in default oracle docker image, but I have been failing. I have been trying to [CODE] I have done [CODE] Confirmed that the data is changed and then [CODE] Didn't work. Restarted between both steps. I did it after logging in with all of thes... | Use environmental variables. This is the recommended approach for setting NLS settings during container startup. Define them in the environment section of your docker-compose file for the database service [CODE] These additional environment variables define the other desired NLS settings. Be sure to replace the values ... | 1 | 0 | 114 | 2023-12-15T16:59:15.457 | database_errors | dba.stackexchange.com | |
167,938 | Does it make a difference if I declare variables inside or outside a loop in Java? | Does it make a difference if I declare variables inside or outside a loop in Java? Is this [CODE] equal to this (with respect to memory usage)? [CODE] And what if the temporary variable is for example an ArrayList? [CODE] EDIT: with [CODE] I got the following output Variable outside the loop: [CODE] Variable inside the... | The common answer to most of these questions should be "why don't you try it and find out?". In Java you could probably take a look at the generated bytecode (I believe the tool is called javap), to see what the difference in byte code is between those two ways of declaring the variable. Doing it like that is a better ... | 16 | 7 | 40,306 | 2012-10-08T09:29:20.653 | api_errors | softwareengineering.stackexchange.com | |
652,253 | Best Linux server OS versions to use | I am going to get a VPS/VDS and will be hosting several websites, Some type of chat server (XMPP, Openfire or eJabberd), and possibly a Teamspeak server. The websites will be mostly PHP based with javascript, and will need a MySQL server for certain ones. The chat server could get popular quickly, and the Teamspeak wil... | Of those choices, use CentOS. Why? Mindshare, support, and you won't be the brunt of Ubuntu jokes by older sysadmins. It's a contentious debate. And it's full of opinions. I like the stability of Redhat and CentOS. I find Ubuntu to be more accessible and friendly, but fraught with quirks (like this or this ...) that I ... | -2 | 1 | 576 | 2014-12-12T22:29:16.233 | database_errors | serverfault.com | |
253,369 | There's a most performant way to check that a collection has exactly 1 element? | I came up with this solution : [CODE] is there any more performance solution (or better syntactical sugar) to do this check ? I want a performance way because this will be an extension used on Linq To Entites and Linq to Objects. I'm not using [CODE] because that will throw and exception if it has more than 1 element. ... | Yes, making your own extension that returns false on the second successful [CODE] (or none) should be the most performant implementation for [CODE] . Anything with a [CODE] property should just check if it is equal to one. | 7 | 6 | 6,843 | 2014-08-15T00:07:55.750 | api_errors | softwareengineering.stackexchange.com | |
314,964 | SQL Server 2019 DAG WFC - Manual Failover won't work (MSSQL Error 41131) | We set up a distributed failover cluster with 2 Windows Server 2019 Datacenter nodes, each of them running SQL Server 2019 Enterprise + SSMS18. The two nodes are located in two different sites with two different IP-Subnets. Each Host is a ESXI VM with only one NIC (Host A in Subnet A, Host B in Subnet B). Both sites ar... | Thanks for all of you, who invested time to point to the right direction. I was able to solve the issue: As @gurav mentioned, I indeed had to dig deeper in the ClusterLogs . After the Xth time reading every single line, I was able to find these line in the logs of the second node and only the second node: [CODE] So thi... | 0 | 0 | 1,130 | 2022-07-28T06:50:18.843 | bi_errors | dba.stackexchange.com | |
207,197 | How to transpose rows into columns in SQL? | Sorry for misleading question but I don't know hot to name my issue. My db<>fiidle is here . I have a table with defined as follows: [CODE] It contains the following data: [CODE] And as a result I would like to get: [CODE] How can I achieve that? | This is an example of pivoting: [CODE] The idea is to map [CODE] to [CODE] when [CODE] , ditto for [CODE] . In the outer [CODE] an aggregate function is used to filter out nulls. Try running the inner [CODE] first to get an idea of what is happening. In general, the presentation of data is better handled by the applica... | 6 | 7 | 28,464 | 2018-05-18T13:38:52.053 | warehouse_errors | dba.stackexchange.com | |
274,567 | Reducing the complexity of over-designed code | I have just started working at a company where I have inherited a C# codebase from a previous developer. I know programming well, have an engineering degree + an (unfinished, several year long) PhD education in computer science and > 10 years of previous experience of "practical" programming, mainly in C++ and Java but... | My problem is that the code that I have inherited is, in my opinion, absurdly over-engineered. I have enormous problems following the program flow and finding any concrete implementations of anything. The amount of abstractions are totally mind-boggling and there is no documentation whatsoever. Its not you, I find that... | 3 | 5 | 1,101 | 2015-02-26T15:56:05.390 | api_errors | softwareengineering.stackexchange.com | |
254,532 | What optimizations can be done for soft real-time code in C#? | I'm writing a soft real-time application in C#. Certain tasks, like responding to hardware requests coming in from a network, needs to be finished within a certain amount of milliseconds; however it is not 100% mission-critical to do so (i.e. we can tolerate it being on time most of the time, and the 1% is undesirable ... | The optimization that fulfills your first two bullets is called an Object Pool . It works by creating a pool of objects when the program starts, maintaining references to those objects in a list so that they don't get garbage collected, handing objects to your program from the pool as needed, and returning objects back... | 8 | 7 | 4,867 | 2014-08-27T00:42:54.300 | api_errors | softwareengineering.stackexchange.com | |
919,950 | Issue with httpd configuration in Apache for Virtual Hosts | SHORT VERSION Trying to use virtual hosting on an old computer to serve web content on my home network over different domains linked to the same ip address by following a tutorial. After following the tutorial, I get the error: [CODE] After reviewing systemctl and journalctl's output as directed, forum reading and goin... | Something like this should work - be sure that the filename ends in .conf. I host quite a few domains for me and my friends, so the [CODE] for each is [CODE] . I name the file [CODE] and then link it over or use [CODE] and then restart/reload apache. Be sure to make the [CODE] directory! Finally, [CODE] will show/test ... | 0 | 0 | 2,983 | 2018-07-07T20:23:13.470 | infrastructure | serverfault.com | |
729,057 | Making RUNSQLSTM Display errors interactively | If I run the command [CODE] from the greenscreen, I get the status message [CODE] but to get the actual error message I have to do a WRKSPLF. Is there any way I could get the error message as a break message or in my job log? I'd just like the SQL parsing error, not all the extraneous (for debugging a simple syntax err... | Not that I'm aware of. Why do you have syntax errors in the source member in the first place? Use STRSQL or iNavigator's Run SQL Scripts to test an debug your statement. Then store it in the sourc emember to be run with RUNSQLSTM. | 0 | 0 | 550 | 2015-10-15T02:20:57.973 | infrastructure | serverfault.com | |
1,075,477 | Query IP/hostnames in local network (Windows) | I have a Windows Server based network, running a Windows DHCP and DNS server. How can I list all the computers in the local network known to the server? That would mean querying either the DHCP or the DNS for all names and IP addresses. I know I can see this information if I log on to the server in the DHCP MMC. But is... | Have you tried querying for ANY record using nslookup as in How can I list ALL DNS records ? This only works, however if DNS zone file tranfers isn't blocked (which is the default). [CODE] And the main point here is, you shouldn't be able to dump this kind of information as an anonymous user to begin with anyhow... | 0 | 1 | 1,502 | 2021-08-24T09:37:23.907 | infrastructure | serverfault.com | |
283,447 | Bundling OpenJDK with a proprietary application allowed by GPL? | I am currently making a video game in Java that will most likely be distributed through Steam. Of course, many Steam users won't have Java already installed in this case. If this happens, I can either have a small native launcher that shows an informative dialogue telling the user they need to install Java, or simply b... | This is an important question, especially when you consider the fact that Oracle has changed their licensing and distribution agreements starting with Java 9, 10, & 11. JDK --> Java Development Kit. JDK's are not a 'runtime' distribution -- A JDK is a developer's distribution that happens to contain a runtime as part o... | 15 | 4 | 4,783 | 2015-05-10T17:33:00.293 | api_errors | softwareengineering.stackexchange.com | |
226,187 | Trying to install SQL Server, keep getting error 1639 | [CODE] Setup completed with required actions for features. Troubleshooting information for those features: Next step for SQLEngine: Use the following information to resolve the error, and then try the setup process again. [CODE] | Check out this line from the log you shared: Invalid command line argument. Consult the Windows Installer SDK for detailed command line help. Are you installing SQL Server Express from the command line? If so, please edit your question to include the full command line statement you're using. You likely have some incomp... | 1 | 1 | 2,875 | 2019-01-02T19:32:11.520 | database_errors | dba.stackexchange.com | |
29,476 | Error restoring Postgres DB | I'm trying to do a [CODE] on some SQL files. Here's the command I used when I dumped from the other database: [CODE] And here is the restore command: [CODE] Here is the error I get: [CODE] What do I need to do to fix this? | The [CODE] option of [CODE] does this : Clean (drop) database objects before recreating them. As you seem to only migrate a single table from here to there, you can safely omit [CODE] from your command line. If you only need the data, you should tell it to [CODE] instead, by using the [CODE] option. If your table struc... | 4 | 4 | 5,958 | 2012-11-29T01:41:09.413 | database_errors | dba.stackexchange.com | |
16,836 | Type mismatch: cannot convert from List<WebElement> to WebElement in eclipse | My code is as below. when i am executing it its giving me error as: [CODE] at [CODE] Let me know if any solution is there. Thanks in advance... [CODE] | [CODE] returns a collection of elements. What you need to do is use the singular [CODE] to get a single instance of an element to work with. [CODE] | 1 | 3 | 10,331 | 2016-02-04T18:30:54.870 | data_quality | sqa.stackexchange.com | |
891,145 | Windows 2012 roll up update fails to install, and then will not reinstall | I am having a problem with one Win2012-R2 server. All the others updated fine, but on this system, the security update 2017-12 failed to install. I have rebooted the system and tried to manually force "check for updates." How do I get this update to install? | The solution was to use the link "Check online updates from Windows Update" That did the trick. The path through our internal update server was not working for some reason (just for this update, on this system) | 1 | 0 | 99 | 2018-01-08T01:15:05.307 | infrastructure | serverfault.com | |
232,840 | xml serialization and deserialization complex situation | I'm considering passing xml back and forth for error messages but each error has different scenarios. one situation at hand is passing diffed text comparison while others are as simple as passing a text message. What kind of serialization/deserialization strategy could I use for such a scenario? The main issue with a s... | Xml deserialization - at least in case of C# (you're not referring to it directly, but your links indicate it as your language of choice) - has type recognition built in. Why not make use of that? See https://stackoverflow.com/questions/775647/how-do-i-deserialize-xml-without-knowing-the-type-beforehand for more detail... | 2 | 2 | 4,288 | 2014-03-18T19:47:13.993 | api_errors | softwareengineering.stackexchange.com | |
374,879 | Metadata too large for circular buffer - alternatives to restoring configs or migrating LVMs | We ran into a problem when a set of PVs were added without using the appropriate metadata size. Consequently, we cannot add and remove volumes, create or remove snaps, run vgreduce and pvmoreve or any almost any other LVM command without getting this message: [CODE] In my research, it came down to this: http://www.redh... | We ended up having to do the following: Run vgcfgbackup. Edited the backup and remove the PVs run vgcfgrestore. It worked. YMMV, of course, if you try this fix. (Of note is that editing the VG configuration backup is not generally recommended) | 3 | 2 | 1,079 | 2012-03-29T15:07:24.560 | database_errors | serverfault.com | |
127,291 | InfluxDB - How can I limit the measures that a user can read by their tags? | I have some data that is collected by several sensors. Some users may own many of these sensors. I want to keep all the measures in a single database in InfluxDB. To differentiate the sensors I pretend to add some tags (such as 'sensor_id=aaa', 'sensor_id=bbb', etc). I have read the documentation and it seems that ther... | First and foremost, I would suggest moving away from any version of InfluxDB before 1.0 as there have been a number of improvements to InfluxDB since 0.9. At the moment there is no way to limit read and write access for a particular tag. This functionality is a planned feature in version 1.2 of Enterprise InfluxDB. Tha... | 4 | 0 | 1,829 | 2016-01-26T02:52:46.040 | bi_errors | dba.stackexchange.com | |
86,343 | Train error vs. Test error in linear regression by samples analysis | I have run a multivariate linear regression model on a small set of about 3500 samples. While the model's error is as large as expected, I also ran a bias vs. variance analysis by comparing the train set error vs. the test set error using different sample sizes. I was expecting something like this: But instead I found ... | It occurs because your data is noisy. Suppose that your model is $$ y = X\beta + noise. $$ Suppose that $\beta$ is recovered exactly. Since the noise is present, our model will NOT predict accurately, it will be always some noise. In other words, think that any time we predict the values, there is some random perturbat... | 0 | 1 | 903 | 2020-12-07T02:01:35.853 | api_errors | datascience.stackexchange.com | |
985,556 | GlusterFS or Ceph RBD for storing Virtual Machine image | I am using glusterfs 5.3 for storing images of virtual machines in Cloudstack/KVM environment, majority of VMs are DB Servers (Sql Server & MariaDB). But I am facing performance issue on VMs specifically on database servers. I get lots of Time out even in small databases. Also I felt that the GUI of VMs and booting tim... | Not an answer you are looking for. Did you consider local storage + regular backups for databases? I went this route of running databases over NFS storage and ZVOLs but they were dog slow and the added complexity of going over the wire always led to problems where you dont want them. I then switched to local RAIDed SSD... | 1 | 1 | 1,304 | 2019-09-25T08:41:58.507 | database_errors | serverfault.com | |
935,128 | NGINX Rewrite subdomain with multiple . as - | On my NGINX server, I am rewriting usernames as a subdomain. However, the server that I inherited, the initial names have a "." to separate out two names. For example: http://foo.com/john.smith is being rewritten as http://john.smith.foo.com . Due to the wildcard ssl certificate, it's causing havoc displaying images or... | You can construct a server block to match domain names with an embedded [CODE] . For example: [CODE] But this will still cause trust errors if the wildcard certificate is not valid for the original domain name. | 2 | 2 | 328 | 2018-10-11T19:40:18.323 | api_errors | serverfault.com | |
395,865 | Should UNIX users have the same group | I have a web server (Ubuntu 12.04 LTS if needed) multiple people use with Apache, PHP5, and MySQL installed. All users have access to SSH. All users home directory's are [CODE] I was wondering: What usergroup should users be in; or should they have their own usergroups()? What user and group should Apache run under? Wh... | In Ubuntu/Debian & variants the Apache2 daemon runs as [CODE] . This is a difficult question to answer specifically, because it depends upon your particular environment & business needs, but very broadly: An "old-school" *nix way of doing things might be to create a group of [CODE] users on your box, and to [CODE] the ... | 0 | 1 | 79 | 2012-06-05T20:07:28.950 | database_errors | serverfault.com | |
373,667 | Requesting better explanation for expires headers | I have successfully implemented expires headers however, for several days I have been stumped by one thing. This article: http://www.tipsandtricks-hq.com/how-to-add-far-future-expires-headers-to-your-wordpress-site-1533 states Keep in mind that when you use expires header the files are cached in the browser until it ex... | You seem to be confusing keeping the cached image and using the cached image. The browser keeps the cached image, as configured. However, the browser will not use the cached image if it know it is not current. Revalidation and expiration are two different things. | 2 | 3 | 499 | 2012-03-26T22:54:42.947 | infrastructure | serverfault.com | |
478,122 | AES processor instruction in Hyper-V (Windows Server 2012) preventing live migrations | We have existing Hyper-V cluster with Windows 2008 R2 and have recently begun creating a new Hyper-V cluster with Windows Server 2012. We recently added a Dell PowerEdge R710 that previously co-existed in a cluster running 2008 R2 Hyper-V. We are now unable to live migrate to/from this new node with the error below. Us... | Thank you for the direction. I was searching for the AES option in the bios documentation as well as in our Cisco B-series blade bios policies but turned up with nothing. After finally rebooting and walking through the bios of each of the machines in the cluster, I was able to find the setting for 'AES-NI Control' whic... | 2 | 1 | 3,896 | 2013-02-12T18:17:52.813 | infrastructure | serverfault.com | |
485,589 | Debian // synchronize packages/version between multiple servers | I'm currently managing a dozen servers. apt-cacher-ng is installed on the development server to maintain the packages. The idea is to have exactly the same version and number of packages on the production servers. We first make the update/upgrade on the dev server, then after validating the install (which can take a fe... | You an always ask for a particular version. From the man page: A specific version of a package can be selected for installation by following the package name with an equals (=) and the version of the package to select. This will cause that version to be located and selected for install. Alternatively, a specific distri... | 0 | 1 | 947 | 2013-03-07T12:37:53.257 | infrastructure | serverfault.com | |
244,228 | KVM and libvirt: How to configure a new disc device to an existing VM? | I've got an Ubuntu 9.04 server running two VM's. In /etc/libvirt/qemu/machine1.xml two disk devices are defined like this: [CODE] I need more storage space in at least one of the devices and thought about adding a third hdc device by simply adding one with same style as above and re-organising my mount structure (The v... | Log in to the VM and shut it down. Create a new virtual disk. [CODE] Force shut down the VM. [CODE] Open the VM configuration in your default editor. [CODE] Add a new disk stanza like below. [CODE] Close your editor. libvirt will automatically reload the configuration. Start the VM. [CODE] | 1 | 3 | 2,981 | 2011-03-07T15:42:20.483 | infrastructure | serverfault.com | |
615,676 | Ubuntu LXC 14.04 Error | I had installed LXC in ubuntu 14.04. I had used an existing template and created a VM by executing the below command. [CODE] After the installation getting the below error. [CODE] The same error get repeated whever i execute any command with [CODE] . What can be the problem? How can i get this fixed? Thanks Sandeep Kri... | It is probably because you are running an old libcgmanager. To fix this problem, you need to update libcgmanager. [CODE] | 4 | 2 | 1,413 | 2014-07-26T12:02:58.213 | infrastructure | serverfault.com | |
415,379 | Is AMD Opteron 3280, 8 cores, 32 GB DDR3 RAM will able to run 200 rails application and 200 mysql database | Possible Duplicate: Can you help me with my capacity planning? I am planning to hosing an rails application + Mysql in dedicated server maximum 200 replicated rails application with 200 unique databases simply for understanding [CODE] Each database has 90 tables, so client1 will use one Database with 90 tables we can c... | No idea. Noone has. Because we have ZERO ideas where your bottlenecks are and how much Memory, CPU and IO every application uses, nor how many users they have. Could work, could blow. Sit down and test it. if all 200 gb's are active at the same time, yo have a terrific 153,6 mb per application (assuming 2gb for overhad... | -1 | 2 | 571 | 2012-08-08T07:13:57.703 | data_quality | serverfault.com | |
1,068,168 | Assign each NIC an ip range or subnet | I have a manjaro linux server with at least two network interface controllers (NICs) and would like to route all traffic going to certain IP address ranges or subnets over one, and everything else over one of the others. So far I've configured the networks via [CODE] , but I only have a tenuous grasp of the subject. Id... | General Pre-Information about this Answer I assume my Answers in Generally on my Knowledge based on Debian Systems, however in this part I skip the Network-Manager Part due I am not using it anyway and in my personal mind makes it only complicated. You Asked, and in the Comments it seems to be nearly clear, that you wa... | 1 | 2 | 322 | 2021-06-29T14:53:36.240 | infrastructure | serverfault.com | |
395,413 | Can't get Monit to check status of apache2 | I am trying to configure Monit on my local machine to get a taste at how it works, but I have some issues. What I am trying to do is to get any evidence that Monit is up and running correctly and is actually monitoring something. So my [CODE] looks like [CODE] If I understand correctly, since apache does not listen on ... | PID files are normally located under [CODE] . In your [CODE] you're referencing a pidfile under [CODE] . Try changing this to match Apache's pidfile in [CODE] . It should be one of the following: [CODE] or [CODE] | 3 | 3 | 9,334 | 2012-06-04T16:00:18.080 | pipeline_ops | serverfault.com | |
321,941 | Ideal OOP Design | After learning OOP design then I got to know my programming way was not correct. One should convert physical entities or logically separable components into classes which are reusable and have their own behavior and properties. One must not simply convert all the entities into objects because that would be really cumbe... | The thing you asked about is called utility function . There are lots of information, opinions, and mis-information about the role and propriety of utility functions in object-oriented world. In your example, the utility function is very simple, so I would have preferred to keep it as a non-member #1 utility function. ... | 1 | 0 | 220 | 2016-06-11T09:26:41.970 | data_quality | softwareengineering.stackexchange.com | |
91,761 | Instant File Initialization on Backup drive | I know IFI (Instant File Initialization) is good to have enabled on SQL Servers. How about backup archive locations? We backup our DBs to a local SSD drive (so it backs up quickly), then throughout the day we slowly move the backups over to an archive location and perform restores and DBCCs on a non-prod server. I was ... | If the archive location is part of same server and if you are performing restores to same server,then you will have IFI enabled.You can always enable Instant file initialization on server you are performing restores too ,I dont see an issue enabling it on prod server and not enabling it on test server.you can further c... | 1 | 0 | 144 | 2015-02-12T03:11:54.553 | hadoop_errors | dba.stackexchange.com | |
855,304 | Using git with CHEF to deploy single file | I am fairly new to chef (and git for that matter), so please forgive me if this question is very basic: Using SVN as my repository, I can use the svn resource to check out a file when running my recipe on a node. Now, I would like to move over to git (I have a local gitlab server) and I would like to do the same, but i... | If i am getting your question correctly. In case you have uploading your files first time to the git repo you need to upload the full .git repository. Other than this if you have created any files which is new in that case only new files or file needs to be pushed to the git repository. Run below command to check the g... | 0 | 0 | 1,044 | 2017-06-12T16:56:33.383 | pipeline_ops | serverfault.com | |
25,080 | How to develop Top-N recommendation for evaluating my system | I want to evaluate my recommender system with the Top-N recommendation method and I have a problem. In some situations, e.g. N = 5, I don't have 5 items for listing and I cannot do that for evaluating. now, you suppose, I want to increase N from 5 to 10 or 15, I think I will have some problems with some active users. W... | Discounted cumulative gain (DCG) is one of the most common metrics for ranking quality. The gain is accumulated from the top of the result list to the bottom, with the gain of each subsequent result logarithmic discounted. The DCG accumulated at a particular rank position n is defined as Since search result lists vary ... | 0 | 1 | 74 | 2017-11-24T15:59:50.337 | data_quality | datascience.stackexchange.com | |
144,187 | How do we provide valid time estimates during Sprint Planning without doing "too much" design? | My team is getting up to speed with Scrum, but most of us are more familiar with non-agile or "pseudo-"agile methodologies. The part that is the biggest hurdle for us is running an efficient Sprint Planning meeting where we break our backlog items into tasks, and estimate hours. (I'm using the terminology from the VS20... | Schedule a recurring "grooming" meeting where you have these design discussions. The team I'm on has them once per sprint, on the day before planning. The goal there is to have the design far enough nailed down that the team can agree on the time estimates for the overall story. You could consider doing task breakdowns... | 9 | 14 | 4,425 | 2012-04-12T21:03:25.870 | api_errors | softwareengineering.stackexchange.com | |
988,226 | "map" function in ansible changes original sequence of list | I need to extract a variable from an inventory: [CODE] When i use: [CODE] the resulting list is: [CODE] Note the sequence has changed. Now, in this particular case, i would need to preserve the original sequence, so the result must be, independent also on the sequence in which the playbook runs through the hosts (!!): ... | You should not depend on the order things are defined in the inventory. There is no guarantees this will be preserved into the in-memory representations. The [CODE] is a dictionary. In, or at least older versions of python, dictionaries are not ordered by insertion order. Hosts might be added to the hostvars in the ord... | 0 | 0 | 434 | 2019-10-16T10:59:05.183 | pipeline_ops | serverfault.com | |
848,427 | error registering dll in server 2012 | I am trying to register a 32 bit com.dll in sysWOW64 C:\Windows\SysWOW64>regsvr32 xxx.dll i have copied the dll in both the folders SysWOW64 and System32 it shows error like The module "xxx.dll" failed to load. Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dep... | You are trying to register a DLL on a Windows Server Core installation, but that DLL expects the components of the full desktop GUI to be present. The giveaway for me (and why I asked you which version it was), is because I recognize some of those DLL names from a former life. For example: IESHIMS.dll is a DLL that is ... | 1 | 2 | 3,963 | 2017-05-05T10:30:16.760 | database_errors | serverfault.com | |
838,917 | Microsoft Outlook freeze for users on terminal server - Exchange 2013 in-house | This has been ongoing for about six months. Microsoft Support is also clueless. Periodically (aprox. twice a day [two different users]), Outlook will freeze on a customer's terminal server session, forcing them to force close and start it back up. There is only one symptom that is common between every occurance - CPU u... | For a problem to go over two different AD domains would suggest there is something common between them both. Any third party tools installed? Same AV software for example? Most problems like this are usually caused by third party interference. Did you remove the old versions of Office? I don't like upgrades of anything... | 1 | 0 | 2,805 | 2017-03-17T13:13:55.677 | infrastructure | serverfault.com | |
206,523 | Network performance issues on windows 7 | One of my machines has started to get serious networking issues. This all started to happen suddenly although I am not aware of any specific changes made to the machine. It is running Windows 7. Some of the symptoms that was not a problem before: ssh into the machine rarely works and when it does it might stop after so... | Before you say "network" let's understand what LAYER you're talking about here. If it's truly a "networking" problem its going to be layer 3 and below. So... check the following: Layer 1: Frayed or kinked cable? If you have a managed switch can you see any physical errors on the port utilized by the client? Is the NIC ... | 1 | 2 | 2,273 | 2010-11-27T12:53:52.643 | infrastructure | serverfault.com | |
980,394 | Bacula "No prior or suitable Full backup found in catalog" | Ubuntu 18.04 Bacula 9.0.6-1build1 Bacula, for some reasons, fails to find a prior full backup job in its catalog, though a full backup job listed in the 'Job' table. Bacula-web shows that a full backup job successfully completed/terminated. Email notifications (job results) state the same. Example: [CODE] Email notific... | Eventually, I have asked this question via Bacula Mail List and now it is absolutely obvious that I have failed to learn Bacula configuration more thoroughly. My bacula-dir configuration was wrong in terms of using separate jobs for full, differential and incremental backups with separate schedules and I wanted to use ... | 0 | 0 | 1,708 | 2019-08-22T22:16:51.870 | database_errors | serverfault.com | |
853,276 | Allow SFTP users read/write access to web document root | I'm looking for some best practice recommendations on how to implement the following: I want to create local user accounts which will only have SFTP access and be chrooted into our document root of our website. I've followed this guide: https://community.rackspace.com/general/f/34/t/5102 on getting the user created and... | If I was doing it, I would make a new user account, and then change their home directory to the webroot. You will probably have to edit the passwd and shadow file to make it work. Make sure that the webroot is CHMOD for the rw access. I would discourage you from doing this on a web server unless it is a local network o... | 0 | 0 | 618 | 2017-05-31T19:37:33.270 | infrastructure | serverfault.com | |
380,904 | Changing windows permission non recursively | I have a Windows Storage Server 2008 machine acting as our company file server. I need to give someone access to same folder and files in our Marketing folder (which contains easily 100,000+ files). The user needs access to Marketing/images, but nothing else in the marketing folder. So my thought is to add read privile... | You can actually just grant the user the appropriate permissions directly on the images folder without giving them any permissions on the parent folder. The "Bypass traverse checking" user right will allow the user to traverse a set of folders to which they have no permissions to get to a folder to which they do have p... | 6 | 1 | 1,342 | 2012-04-18T22:26:38.417 | infrastructure | serverfault.com | |
65,695 | Web Hosting -> Servers -> All dropped in my lap.. HELP! | First, some background: I work for a small company that does IT. Recently I have become the "web developer" as a value added for the clients we support. The business had a guy who set up a web hosting company about a year ago (before i got here) also for a value added for our clients. It is configured with helm v4 and ... | If you restart everything on a different platform straight away, all at once you will go from having one problem to many problems. Missing libraries, links, and 100 hosts to configure. First you need to find out as much about the situation as you can. Are you using Apache or IIS? What ISAPI plugins or filters are being... | 3 | 8 | 215 | 2009-09-15T21:23:51.873 | database_errors | serverfault.com | |
275,361 | What is the purpose of having multiple SSIDs | Possible Duplicate: Will segmenting wi-fi SSIDs limit the spread of viruses, trojans and the like? Seeing I am new to the world to networking and need to set up a router, what is the purpose of having multiple SSIDs. Not sure if this qualifies as a separate question (and if it does let me know and I'll post it as a sep... | Having a wireless router broadcast multiple SSIDs means that it creates multiple networks. This is useful, for example, for creating a password-protected internal network and a public guest network. The router separates traffic so that people on the guest network can't interact with people on the private one. As far as... | 1 | 4 | 12,178 | 2011-05-30T22:18:36.187 | data_quality | serverfault.com | |
1,034,192 | Windows Server 2012 R2 - Adding Cipher | this might be a complete newbee question. I have an 2012 R2 Server on which an application should call a partner who only offers the following ciphers: (0xc02f) TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 ECDH secp256r1 (eq. 3072 bits RSA) FS 128 (0xc030) TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 ECDH secp256r1 (eq. 3072 bits RS... | It seems, that cipher support is version related and server 2012 r2 is not supporting the wanted ciphers. There seems to be no way to add new ciphers beside updating the OS. https://docs.microsoft.com/en-us/windows/win32/secauthn/cipher-suites-in-schannel | 1 | 2 | 7,767 | 2020-09-17T05:57:39.613 | infrastructure | serverfault.com | |
310,832 | How to restore backups with recovery even when there are subsequent backup files that need restored? | Suppose I have a full backup, differential backup and 10 log backup files. The recommended practice is to restore each with no recovery and then apply the final log backup with recovery. Suppose I do the prior restore with recovery, then I cannot apply the subsequent backups - it gives error. Is this by design and is t... | You can set the database into [CODE] mode while recovering, but this will be readonly. You cannot set it to fully recover. This is by design. Due to the way write-ahead logging (a system used by most RDBMSs) works, transactions may be partially written to the log at the point the backup is made. The rest of the transac... | 0 | 3 | 63 | 2022-04-12T08:10:45.203 | database_errors | dba.stackexchange.com | |
35,519 | How can I pass parameter in xpath? | I am using Java, Selenium Webdriver and Cucumber for my automation.In my feature file I have below statement : [CODE] The XML code for selecting rooms is shown in below image : And the xpath is : [CODE] How can I pass the parameter in above xpath in order to select the room? I have tried using [CODE] And below method [... | As far as I can see you use Page Object way. This means you cannot parameterize the xpath for the element ( parameters of annotations cannot be changed in runtime in Java ). I would suggest you different approach. You define the list of [CODE] [CODE] Then in your step definition you can do something like this: [CODE] H... | 0 | 3 | 30,132 | 2018-09-06T17:35:54.247 | data_quality | sqa.stackexchange.com | |
631,260 | FreeBSD L2TP VPN connection error | I have a L2TP/IPsec VPN server on FreeBSD 10 set as this article . Everything works fine except clients cannot receive packets from outside. Here is the tcpdump result when a connected client tries to ping 8.8.8.8: [CODE] On the other hand, the ping results are always timeout. What could be the problem? Where shall I c... | It turns out to be a known issue of 10.0-RELEASE . | 0 | 0 | 570 | 2014-09-25T14:31:56.320 | infrastructure | serverfault.com | |
907,164 | Ansible: Conditionally define variables in vars file if a certain condition is met | Depending on the value(True/False) of a variable defined into the group_vars I am trying to define some variables in a vars file. Their value depends on the group var's value. My current var file looks like this: [CODE] For each one of my roles I'm using a variable defined into this file. My test playbook looks like be... | What I did in the end was to create 2 separate var files - let's call them [CODE] and [CODE] - and I defined a group variable that indicates what file to use - something like [CODE] . This is how my playbook looks now: [CODE] Thanks for all the answers. I find them really helpful. | 36 | 0 | 135,369 | 2018-04-11T13:43:21.837 | pipeline_ops | serverfault.com | |
140,431 | Adding Partitions to cube In SSAS via VS 2013 | I am trying to add a new partition to my cube via SSDT 2013. I am using the Wizard and doing all stages that needed. After I click "Finish" nothing happens and I cannot see that a new partition has been added. The answer I found from Google is to update SSDT to the latest version. I did that and still nothing happens. ... | I've found a solution!!! :) Thanks to Darren Gosbell(MCC, MVP) and bayFX BITALENT(Partner) on MSDN. This appears to be caused by a missing dll. For VS2012 / SQL 2012 running the following command fixed this for me. copy "c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\SqlWorkbench.Interfaces... | 2 | 1 | 478 | 2016-06-05T12:57:40.670 | warehouse_errors | dba.stackexchange.com | |
609,643 | CentOS 6.5 Webmail Server: warning: SASL: Connect to private/auth failed: No such file or directory | I'm trying to run a webmail server on CentOS with Postfix, Docecot and Roundcube. Whenever I try to send mail or send a test email to my server it fails. I can login so looks like Dovecot is okay. Here is my server log: [CODE] When I send a test email to my server: [CODE] Then it displays the same error as above. And w... | Looks like mismatch of dovecot configuration and postfix configuration. In dovecot configuration (especially in section service auth , you just define two socket auth-client and auth-master . Add one section [CODE] with content [CODE] See this page for further documentation. | 3 | 2 | 8,992 | 2014-07-02T18:12:41.243 | infrastructure | serverfault.com | |
108,240 | Why are interfaces useful? | I have been studying and coding in C# for some time now. But still, I can't figure the usefulness of Interfaces. They bring too little to the table. Other than providing the signatures of function, they do nothing. If I can remember the names and signature of the functions which are needed to be implemented, there is n... | They are there just to make sure that the said functions (in the interface) are implemented in the inheriting class. Correct. That's a sufficiently awesome benefit to justify the feature. As others have said, an interface is a contractual obligation to implement certain methods, properties and events. The compelling be... | 172 | 163 | 172,952 | 2011-09-14T13:59:19.180 | api_errors | softwareengineering.stackexchange.com | |
709,470 | date and hwclock not in sync - why | I am on GMT+8 and I set my hwlock to UTC. [CODE] Seems fine. hwclock debug is showing 08:32 UTC -- I am not so sure on the last sentence in hwclock --debug (Sat 01 Aug 2015 04:32:17 PM SGT -0.641290 seconds) whereby it shows the date in current timezone format (which is +8 hours) - i assume its fine After reboot [CODE]... | I synchronized [CODE] and [CODE] with this command: [CODE] Above command writes [CODE] time to [CODE] time. NOTE : If you want write [CODE] time to [CODE] time do it: [CODE] For test: [CODE] NOTE : You can use [CODE] instead of [CODE] and [CODE] instead of [CODE] . [CODE] = system time to hardware time. [CODE] = hardwa... | 5 | 5 | 13,834 | 2015-07-29T18:25:49.727 | infrastructure | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.