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 |
|---|---|---|---|---|---|---|---|---|---|---|
250,472 | AWS DMS: 2 million CDCIncomingChanges resolved without target throughput | We're attempting to use AWS DMS to replicate MS-SQL to a customer's on-prem DB, and running into a confusing situation. At 13:00 UTC there are over 2 million CDCIncomingChanges, with CDCTargetLatency of 60k. Somehow, by 14:50 UTC these changes are processed and latency is resolved down to zero while CDCThroughputRowsTa... | It would seem that every row in a DB was effectively being deleted and recreated without any changes, and that batchApply was enabled. Batch apply would effectively cancel out large numbers of changes, which is why the number of CDCIncomingChanges was reduced without throughput. | 0 | 1 | 937 | 2019-10-07T20:43:50.543 | data_quality | dba.stackexchange.com | |
13,568 | Thwarting some awful parameter sniffing | I've got this fairly simple reporting procedure that searches through inventory transaction data (stuff being received, moving around the warehouse, etc). The whole thing is listed below - I've only anonymized the procedure name. It's pulling data from Dynamics GP (explaining the awful table/field names), and an intern... | The sniff comes from the NULL or the empty string. The addition of [CODE] is ignored. You can fix this one of 2 ways: Use parameter masking, by using another variable internally, say @IstrItem [CODE] Add OPTIMIZE FOR UNKNOWN hint to the query Other observations: Why not an index on all 3 columns? One of these is probab... | 0 | 2 | 342 | 2012-02-21T14:11:19.543 | database_errors | dba.stackexchange.com | |
371,333 | How to prove a function returns a value | Say I have the following 2 JavaScript functions for demonstration purposes: [CODE] The specifications are as follows: [CODE] : The function returns only named CSS colors. It doesn't return hex values or anything. [CODE] : Returns the max value given two integers. The integers have to be within the valid size of integer... | What you're trying to do is called Formal Verification , and is generally impossible in JS. If, however, you restrict yourself to a subset of the language, it becomes tenable. The usefulness of such an analysis is debatable. It is certainly used for other languages in areas where safety and correctness is of utmost con... | 1 | 7 | 790 | 2018-05-22T13:14:17.207 | api_errors | softwareengineering.stackexchange.com | |
296,656 | How to route traffic through a VPN tunnel? | The problem with our server is that we need to use the bug ridden and awful AT&T network client, which causes our server to bluescreen once per 24 hours. Does any one know how to (or has a good guide) quickly set up a workstation running Windows server 2008 R2 as a proxy server. So this spare workstation would run AT&T... | what yours asking for is a little vague, you need to give us a little more to go on to have a better understanding of your problem.. is client running your ATNT software is a resource server or loin server such as a domain controller or something that allows users access to the network? Taking a wild guess as it sounds... | 2 | 1 | 1,344 | 2011-08-02T13:23:03.447 | infrastructure | serverfault.com | |
58,282 | error: must be owner of relation USER_ACCOUNT_ID_seq | I have granted priviledges to a user for testing in PostGreSql: [CODE] Yet, when I run the following statement; [CODE] I get the following error message: [CODE] What else do I need to grant to my Tester user, and how? Thanks! | From http://www.postgresql.org/docs/9.5/static/sql-altersequence.html You must own the sequence to use ALTER SEQUENCE. To change a sequence's schema, you must also have CREATE privilege on the new schema. To alter the owner, you must also be a direct or indirect member of the new owning role, and that role must have CR... | 3 | 4 | 24,796 | 2014-02-05T14:22:52.143 | database_errors | dba.stackexchange.com | |
233,633 | Block certain queries from being logged in slow query log | I have mysqld_node running on my mysql server to get statistics to be used by grafana + prometheus to graph dashboard for this MySQL server. However, i noticed that 90% of the queries in my slow query logs are created by mysqld_node, and hence hard to filter queries from Application servers. Is there a way to block que... | long_query_time is a session variable and could be set to a large value in the [CODE] code. | 0 | 0 | 293 | 2019-04-01T04:22:41.103 | database_errors | dba.stackexchange.com | |
267,857 | SQL server start-up bringing online database priority | we have hundreds of databases on one sql server instance. After restart sql server takes databases online one by one using default order from sys.databases view. This order use database_id, so first created database in sql server startups first(as I think).. It takes about on minute to bring online all databases. I had... | There isn't a way to control the start up order of the databases in any supported manner, so far as I a aware. Do you have the option of installing another instance of SQL Server on that server and migrating the database to it? That would ensure that on system restart it would be started up immediately. | 2 | 0 | 534 | 2011-05-05T11:00:30.537 | database_errors | serverfault.com | |
362,273 | Server sending spam, Im unable to catch the user | Alright, I'm tired of spam being sent out from my server. I've installed CSF as a firewall and it keeps on saying Local Host Relay for user 127.0.0.1 [CODE] Sample of the first 10 emails: [CODE] I've changed the name of my hostname Can anyone tell me how I can trace the spam sender ? Thanks. | Just my two cents: since is connecting to 127.0.0.1 on your server can be a (malicious) script. Is your server also a webserver? If so, I would check the web directory (directories if using multi/virtual hosts) for suspicious scripts (for example grep for mail() functions within PHP scripts). Also, if using some sort o... | 0 | 4 | 1,656 | 2012-02-21T16:14:50.923 | infrastructure | serverfault.com | |
1,067,566 | "docker: 'compose' is not a docker command." How to use the alias "docker compose"? | I'm following this guide in order to deploy a docker-compose application in Azure, and the command [CODE] is not found in Azure Container Instances (ACI). I get the following error: [CODE] However I switched the context before with: [CODE] Moreover, I cannot execute the command [CODE] Docker doesn't have this option in... | So i found the solution and would like to share it: You have to install the docker aci integration in order to use "docker compose" and "docker create context aci [contextname]". You can install it as follows: [CODE] | 2 | 1 | 6,876 | 2021-06-23T14:17:32.397 | pipeline_ops | serverfault.com | |
527,584 | server bonding interface configuration | (the same question was asked on http://unix.stackexchange.com ) We are facing some problem with configuration of servers: There are 2 servers, each one contain 2 NICs which are in bond. Each server is connected to 2 Cisco switches (one connection from each NIC to separate switch). The port on the switch is configured t... | The ports in the round-robin (mode 0) bond need to be in an EtherChannel. Read the bonding documentation, Chapter 5 Switch Configuration: https://www.kernel.org/doc/Documentation/networking/bonding.txt Also, modprobe is not the correct place to configure bonding options, you should be using [CODE] in [CODE] | 2 | 1 | 1,564 | 2013-07-31T12:08:48.163 | infrastructure | serverfault.com | |
112,320 | Select highest id of each type in mysql | I am creating a database that keeps track of backups on our various servers. The query that I am using actually seems to work for the most part. The only issue is that it isn't getting the highest ids. My Query is below. [CODE] This outputs the following: The latest backup for SDSBackup_OFFICE should have an ID of 118.... | I think you're looking at something like this: [CODE] | 1 | 1 | 1,124 | 2015-08-26T20:35:22.533 | database_errors | dba.stackexchange.com | |
574,173 | just start MySQL without any connection, and it cost 45.3% memory | just 4 builtin tables, [CODE] no other tables installed, after [CODE] , it opens more than 20 processes and cost nearly 50% memory! how to config my.cnf to reduce it? PS: mysql version is 5.6 --- update --- this is my.cnf (in /etc/mysql/my.cnf) [CODE] under conf.d/ dir, there is only a [CODE] , the content is [CODE] --... | As mentioned performance_schema would definitely seem to be the culprit. Note With the Performance Schema enabled, the number of Performance Schema instances affects the server memory footprint, perhaps to a large extent. It may be necessary to tune the values of Performance Schema system variables to find the number o... | 0 | 4 | 132 | 2014-02-08T16:18:34.967 | database_errors | serverfault.com | |
302,759 | What pain point does Intelligent Children Design Pattern solve? | In absence of this pattern, [CODE] is needed in the derived classes. My question is does this pattern solve only the problem of [CODE] ? And why is [CODE] bad compared to the alternative offered by Intelligent Childrean Design Pattern? | Intelligent children is used when there are two base classes at the root of separate but related class hierarchies. For example [CODE] and [CODE] are the base classes and [CODE] needs to be used by the [CODE] method of the [CODE] . So the [CODE] method will want to downcast the [CODE] pointer. Downcasting is generally ... | 0 | 1 | 140 | 2015-11-17T06:59:13.587 | api_errors | softwareengineering.stackexchange.com | |
154,028 | Returning 1 Max Value when Some Counts Are Equal in Access | I'm building a database that needs to return peak traffic data for Month-over-Month and Year-over-Year Comparisons in Access. We are trying to determine what our busiest Monday is, Tuesday, Wednesday, and so on in each month. The date needs to be attached to the return value. It should look like this. [CODE] I'm trying... | When you join this result set (as a subquery?) back to the main table, why don't you do another GROUP BY and get the MAX(Start)? [CODE] Apologies if I made some syntax errors, I don't have Access handy right now. | 0 | 0 | 77 | 2016-11-02T13:32:00.093 | warehouse_errors | dba.stackexchange.com | |
150,853 | problem using scp | I issued an command on a local machine scp -r download/ tim@foo.xxx.xxx.xxx Then I checked at the remote foo.xxx.xxx.xxx and found under my home directory, there is nothing. Did scp transfer something? If yes, where are they? Thanks! | You're missing a colon at the end, it should be [CODE] . The colon shows you're transfering to a remote host and not just a local file called tim@foo.xxx.xxx.xxx. | 1 | 3 | 147 | 2010-06-13T17:41:41.940 | infrastructure | serverfault.com | |
353,162 | ASA IPSec tunnel up, but logging errors? | I am getting the following errors on an ASA; [CODE] I only have access to this end, and I don't have access to the local LAN IP it terminates on. Speaking to the remote end operator, he can connect over the tunnel to the local LAN IP so it is working, but I am still seeing errors in the logs, in particular "All IPSec S... | I see the problem know. I think I needed another set of eyes to point it out to me so thanks for that. [CODE] These lines say it all. outside_map has the remote end point peer IP defined, but it should be their proxy IP. Thanks for the push ;) | 0 | 1 | 6,487 | 2012-01-24T17:27:29.073 | infrastructure | serverfault.com | |
341,025 | Reports in microservice architecture | SITUATION Let's assume we want to generate an excel report with the data from microservice A and present it in microservice B. We can obtain the data with some scheduled task or so. POSSIBLE SOLUTIONS Simplest We add a report functionality to microservice B and generate reports there. Pros: Pretty strightforward, on th... | OK, This is not a problem of bounded contexts. You can have more than one service in a bounded context, and its impossible to say what should go in what context when you abstract the functionality to simple names like "A" and "B". The key thing to realise is that micro services should be micro or even nano your prefere... | 7 | 3 | 8,626 | 2017-01-27T09:27:28.633 | api_errors | softwareengineering.stackexchange.com | |
683,330 | Connecting Windows iSCSI initiator to Centos iSCSI target | Goal: To have my Linux VPS serve as an iSCSI disk for a Windows Why: Management of the storage space on a Linux box and to reduce cost of licensing. OS: Centos 6 (Target) Windows Server 2012 (Initiator) Previously followed guides: http://www.server-world.info/en/note?os=CentOS_6&p=iscsi Now at this point I am unable to... | [Moderators please feel free to downgrade this to a comment if you feel that is appropriate.] Set it up with CHAP authentication: http://opentodo.net/2012/10/setup-iscsi-target-initiator-on-centos-6/ https://technet.microsoft.com/en-us/library/ee338480(v=ws.10).aspx http://blog.migrationking.com/2011/04/how-to-setup-is... | 2 | 1 | 5,590 | 2015-04-16T20:52:01.187 | api_errors | serverfault.com | |
847,845 | Putty: Local port 80 forwarding to localhost:80 failed: Network error: Permission denied | In putty, I have the following: Session hostname:username@azurecontainsersvc_mgmt.eastus.cloudapp.azure.com port: 2200 Connection>SSH>Tunnels L80 localhost:80 Connection>SSH>Auth Private key: my_public_key.ppk Ans when I connect, it asks me for my password, everything looks great, but I get access denied. I have tried ... | That problems can have different origins: tcp port 80 is already in use by another program. Check if you have a local web server running. You don't have sufficient privileges to open port 80. Listening to ports under 1024 needs administrator privileges. port forwarding is not permitted on the server side ( [CODE] in [C... | 1 | 1 | 7,641 | 2017-05-02T18:21:00.917 | pipeline_ops | serverfault.com | |
50,173 | Error: "'net' is not recognized as an internal or external command, operable program or batch file" | Has anyone seen this error on an XP desktop machine before? 'net' is not recognized as an internal or external command, operable program or batch file. It's being used in a 'net start iisadmin' script | Sounds like your 'path' environmental variable is getting stomped on somewhere. The fix is to do a direct call to it like has been suggested above. | 4 | 5 | 44,127 | 2009-08-05T04:04:57.393 | infrastructure | serverfault.com | |
117,979 | Restrictions on Windows Web Server 2008? | I'm considering replacing a dedicated windows web server server I run for several clients - the server is hosted at an ISP, and I currently I have a Windows 2003 standard server with SQL Server 2000 standard edition installed. There is a very limited amount of other software, including A third party SMTP server PHP Scr... | There are some restrictions from both a licensing perspective and a technical perspective. The basic licensing restriction is that whatever is installed must be used for your web sites that are in use on that machine. So for example, the SQL Server you install can only be used by the web sites on the server, not by sit... | 0 | 1 | 312 | 2010-03-01T18:11:27.907 | database_errors | serverfault.com | |
868,447 | CentOS 7 Asterisk + FreePBX Install: | I attempted to run a ./install -n on my FreePBX install and got: [CODE] Doing core show version on Asterisk gives me [CODE] and then the version number on the line under. I have looked around and unable to find a solution | In source file freepbx/installlib/installcommand.class.php Replace line 266 to be like the following: [CODE] Instead of: [CODE] | 0 | 0 | 1,259 | 2017-08-13T19:02:14.420 | infrastructure | serverfault.com | |
96,444 | Can't get Dell PE T420 (Perc H710) perform better than a MacMini with PostgreSQL | It's months that I'm trying to solve a performance issue with PostgreSQL. SYSTEM CONFIGURATION Our deployment machine is a Dell PowerEdge T420 with a Perc H710 RAID controller configured in this way: VD0: two 15k SAS disks (ext4, OS partition, WAL partition, RAID1) VD1: ten 10k SAS disks (XFS, Postgres data partition, ... | After asking on pgsql-performance list, Jeff Janes figured out that the cause was associated to the default collation used by Postgres (see this link for more informations). MacMini was using the much performing collation while Dell T420 was using the en/US collation. T420 (Postgres 9.4.1) [CODE] MacMini (Postgres 9.0.... | 4 | 2 | 1,303 | 2015-03-27T12:01:35.873 | api_errors | dba.stackexchange.com | |
746,724 | vBulletin upstreaming to Nginx server | I have two acount on RHC Openshift so i want install nginx one one server and vbulletin on the other server , so have combine server 1 to server two (nginx to Vbulletine) I try this configuration for nginx: [CODE] But it not working properly. I got this error: [CODE] So what do you think!!! the php-fpm is working corre... | So finally i found the answer , the correct configuration to connect vbulletin form nginx server could be similar this codes: [CODE] and its must be contained: [CODE] and : [CODE] so for accesing to admin panell must add this line: [CODE] | -1 | 0 | 341 | 2016-01-04T23:13:10.090 | infrastructure | serverfault.com | |
365,165 | How do websites/apps deal with so many people online at once? | I’ve been wondering about this for a little bit, but I couldn’t find much info on Google. What do big websites like YouTube do to manage all the traffic they get without their website slowing down? How are their servers different than a home web server? Do their servers run off of one network from an ISP or something e... | Application scalability is an enormous topic and not one that can really be addressed in a single post. However I'll have a crack at a basic explanation. As you've implied most complex websites are scripts or programs which are executed on a server somewhere and HTML/Javascript (and others) are sent to a browser to int... | 3 | 6 | 265 | 2018-02-02T06:47:08.567 | api_errors | softwareengineering.stackexchange.com | |
769,867 | Clone KVM virtual machine with snapshots | I've created a virtual machine using virt-manager and saved a snapshot of it's current state. Now I'd like to create an exact duplicate machine with all snapshots from the first machine. How could I accomplish that? | There are two parts to a VM - the disk image (or set of images in a snapshot chain) and the VM definitions. Cloning VM definitions can be both simple and complex. For the clone to run on another host, all you need is [CODE] on the source; and then [CODE] on the destination host. If the clone is going to be running loca... | 5 | 5 | 7,622 | 2016-04-12T17:49:40.770 | data_quality | serverfault.com | |
146,610 | SQL server not listing records with NULL values | I faced a strange phenomenon today. I ran the below query to Find all requests with waits other than BROKER_RECEIVE_WAITFOR [CODE] The query ran fine, But it failed to list any request with No waits, ie with wait_type as NULL (there were quite a lot of running queries without any waits at this time). Why is this happen... | The reason for this is that a NULL represents an unknown value. NULL is not [CODE] anything and not [CODE] anything either. Try running the following 2 statements on your system: [CODE] That should return [CODE] for both statements. So your query should look like this: [CODE] | 1 | 10 | 867 | 2016-08-12T10:33:07.063 | data_quality | dba.stackexchange.com | |
578,658 | The configSource file 'connections.config' is also used in a parent, this is not allowed. | Question: I face the following situation: A ASP.NET .NET 4.0 web-application deployed on machine "vmsomething". The web-application running on IIS 7.5 resides in d:\webs\myapplication on vmsomething. The application's config files: connections.config [CODE] web.config: [CODE] Then one can access the application on two ... | The reason is that you have two web sites targeted on the same physical folder. And there exists an inheritance in web.config . [CODE] is the parent and [CODE] is its child. The child web.config inherits all elements from its parent. And the web.config usually is not designed to work in such scenario. You can get a lot... | 9 | 9 | 15,683 | 2014-02-27T08:28:00.277 | infrastructure | serverfault.com | |
718,256 | 2 email server and one static ip | I need to manage two mailservers (postfix and dovecot on different machines) using a single public IP. I thought I solved by putting non-standard ports on the second postfix instance, but I do not get mail from outside my network. Is my approach right? How should I accomplish this? | postfix is capable of relaying messages to another server for specific domains. Take a look at this setup for an example: Proxy mail to different smtp server with Postfix | 0 | 3 | 1,908 | 2015-09-01T10:37:16.020 | infrastructure | serverfault.com | |
45,518 | MySQL replication: 'Duplicated entry for PRIMARY key' | Could you please help me to understand why I'm receiving 'Duplicated entry for PRIMARY key' on a slave server after a full re-sync. Basically 'mysqldump' was running almost whole night and then the restore process took a couple of hours so when I've started the slave it was ~63874 seconds behind master. The slave serve... | ASPECT #1 : Replication I don't think that [CODE] belong together. Other people have wondered about this as well [CODE] : Configured MySQL replication but its not working [CODE] : What is the difference between 'replicate-rewrite-db' and 'replicate-do-db ' during mysql replication ? [CODE] : Mysql replicate-rewrite-db ... | 12 | 15 | 35,139 | 2013-07-01T14:10:08.817 | database_errors | dba.stackexchange.com | |
236,970 | Creating index on TIMESTAMP column to use with range operators | TLDR : Can I create an index that's used by the following [CODE] clause: [CODE] Let's say I have a table like this: CREATE TABLE foo ( foo_id INTEGER GENERATED BY DEFAULT AS IDENTITY, foo_date timestamp without time zone NOT NULL, CONSTRAINT foo_pkey PRIMARY KEY (foo_id) ); This table contains 100,000 records with date... | The name "foo_date" indicates a [CODE] and is a bad choice for a [CODE] column. Option 1 would work just fine with actual dates . A plain btree index in combination with Option 2 is the unequivocally best solution. Look no further. Except maybe for the special case of a BRIN index for large tables with physically sorte... | 7 | 7 | 15,605 | 2019-04-29T19:09:12.997 | data_quality | dba.stackexchange.com | |
369,523 | Is it possible to run an Apache VirtualHost on port 443 with SSL off? | I am running a site completely over SSL using a load balancer in front of Apache doing all the certificate handling and decryption. I let HTTP traffic through the load balancer so Apache can handle doing redirects. When the traffic is redirected to the HTTPS page, the load balancer does the decryption and forwards the ... | The answer is to simply disable mod-ssl altogether [CODE] | 1 | 1 | 5,603 | 2012-03-14T09:41:24.720 | infrastructure | serverfault.com | |
1,062,162 | TC Corruption of Packets Ingress | I’m new to tc & this may be naive question but correct me if I’m wrong [CODE] Does above command corrupt ingress packets only ? If Yes, does outgress corruption has support with different command to configure ? PS: I couldn’t find relevant help online for outgress corruption. | The [CODE] is a egress queue discipline and affects only outgoing packets, not ingress. To dive into the TC you can read the LARTC (Linux advanced routing and traffic control) Other useful sources of information are [CODE] and [CODE] , specially the examples sections. | 0 | 2 | 293 | 2021-04-30T14:25:08.310 | data_quality | serverfault.com | |
593,968 | Apache2 and rewritemap - hours of trying | I stuck with rewritemap problem. What I want to do is redirect thousands of old nearly random urls to new ones. I will build map manually, but I need this code to work. [CODE] I would like map to look like this: [CODE] Old urls look like: http://example.com/abcd/cat_4=0?Xi4B7WoN;;54 and I want them to rewrite into: htt... | OK, I got it working. For anyone else, here's the solution. [CODE] To respond to Krist van Besien answer: I believe you cannot use %1%2%3 as using one line before, two lines before, etc. %n refers only to last RewriteCond line, so I had to put everything into one line and then make check of map. But thank you anyway, y... | 1 | 1 | 1,006 | 2014-05-08T18:13:37.920 | infrastructure | serverfault.com | |
515,655 | domain redirecting/forwarding during server shutdown temporary | I rack my brain how could I solve the following issue: my website/server needs to be available all the time, so just few minutes downtime could be critical I would run a separate server (server number 2) in parallel in case of shutdown/downtime Question: could anyone knows a solution how I can make my domain pointed to... | Since we have no idea what HTTP server, OS, or application structure you're using, this is all theory and high-level concepts. You'll want to create an active/passive cluster and have a front end load balancer that mediates incoming traffic, sending it to the proper web front end servers based on their availability. Of... | -1 | 1 | 54 | 2013-06-13T20:03:07.253 | infrastructure | serverfault.com | |
445,104 | Where to place a common database connection in clean architecture? | I am currently trying to follow the clean architecture approach but i wonder where common things like a database connections should take place. Since i think a database connection usually will be opened once, but different tables in there are used from feature to feature in different ways, it wouldn't make much sense t... | I am currently trying to follow the clean architecture approach but i wonder where common things like a database connections should take place. Right here: Since i think a database connection usually will be opened once, but different tables in there are used from feature to feature in different ways, it wouldn't make ... | 2 | 2 | 1,291 | 2023-04-18T15:32:01.017 | api_errors | softwareengineering.stackexchange.com | |
189,534 | How many are too many nested function calls? | Quoted from MSDN about StackOverflowException : The exception that is thrown when the execution stack overflows because it contains too many nested method calls. [CODE] is pretty vague here. How do I know when too many is really too many? Thousands of function calls? Millions? I assume that it must be related in some w... | I'm concerned about this because I am developping a project which involves a heavy use of recursive structures and recursive function calls. I don't want the application to fail when I start using it for more than just small tests. Unless your language environment supports tail call optimization (and your recursion is ... | 16 | 29 | 10,660 | 2013-03-06T20:47:24.903 | api_errors | softwareengineering.stackexchange.com | |
322,312 | How exactly does USB integration work from the micro controller end? | I have no prior USB integration and about 8 months of learning embedded systems on Atmel devices. I am trying to use an Atmel SAM L series to connect over USB to a computer. The use case is for data transfer. Specifically, the MCU will be gathering data from it's sensors and packaging it for USB transfer. I have search... | A regular com port is a very 'close to the metal' communication hardware and protocol. USB is significantly more complicated. There are strict requirements on timing, who talks when, addressing, and a variety of other aspects. It is so complicated there exist entire companies who's main job is hiding that complexity wi... | 1 | 2 | 76 | 2016-06-15T13:44:14.047 | airflow_errors | softwareengineering.stackexchange.com | |
1,129 | error: exportArchive: The operation couldn’t be completed. (IDEDistributionErrorDomain error 3.) | I am using Jenkins automation build for iOS. Previously I have been using xcode 8.1 with no error showing. But i have updated the xcode to 8.3 and I'm facing errors now. I have the scripts as below: OLD SCRIPT [CODE] NEW SCRIPT [CODE] but I'm facing this issue now. How can I solve the issue ? | https://forums.developer.apple.com/thread/75038 Hi! I think I've got it figured out... instead of: [CODE] use: [CODE] We've got unity building the project every time and it doesn't fill in the PROVISIONING_PROFILE or PROVISIONING_PROFILE_SPECIFIER. And it looks like it will figure out the alphabet soup that belongs to ... | 1 | 1 | 631 | 2017-05-09T13:31:20.927 | pipeline_ops | devops.stackexchange.com | |
735,177 | Login in Active Directory Domain (Samba 4) and mount -t cifs on debian | I've configured Samba 4 with bind and kerberos to work as an Active Directory authentication server. I've also configured "home share" so I can login to any Windows machine in my Domain and work with my files. In addition I want to access my files on Debian Desktop. I've installed realmd and sssd on Debian Desktop and ... | Your linux client needs a way to translate AD users to unix users. This is usually done by the [CODE] service, which is a part of the samba4 suite (to be installed and configured on the client). | 0 | 0 | 617 | 2015-11-10T09:42:58.393 | api_errors | serverfault.com | |
192,955 | SQL Server Error "Database 'mssqlsystemresource' does not exist." | On Linux, whenever I run [CODE] to get access to Resource Database , I get an error. How do I resolve this. [CODE] When I try to log in with [CODE] with DAC ( [CODE] ) targeting the database with [CODE] [CODE] When I try to log in with [CODE] 's [CODE] , I get [CODE] | The [CODE] database is only available in single-user mode. On Linux, that means [CODE] | 1 | 2 | 664 | 2017-12-12T20:54:47.227 | database_errors | dba.stackexchange.com | |
331,997 | What is the best option to remove duplicates in big heap? | Our Server is SQL Server 2016 Database with Full Recovery model. We have table "A" - heap which has 280 millions of records and size 90 GB with 50 columns. This table contains around 5 millions of duplicates rows. Our goal is to have this table without duplicates values (so tables with 275 millions of records). At the ... | Move 5 millions of rows with duplicates to separate table (copy and delete) Remove duplicates in separate table Insert into main table from separate table without duplicates | 0 | 0 | 65 | 2023-10-10T08:11:38.967 | database_errors | dba.stackexchange.com | |
501,524 | Tracking what happens to files on a network share | Is there some kind of software out there that can monitor a file share on a network and record who (computer/user or application) deletes or modifies files - as we are having issues with data going missing from a particular location. I know this sounds a bit like I'm after a bit of FBI like software, but I just thought... | Consider using Windows' built-in auditing features . Note that enabling auditing for filesystem objects would create a large amount of logs in most setups. You would either need a tool to handle that or sufficient expertise in scripting to craft such a tool on demand. See the documentation on auditing for details. | -1 | 1 | 53 | 2013-04-22T11:21:51.937 | infrastructure | serverfault.com | |
6,494 | Prometheus alert CPUThrottlingHigh raised but monitoring does not show it | I have installed Prometheus to monitor my installation and it is frequently raising alerts about CPU throttling. The Prometheus alert rules to identify this alert is : [CODE] If I look at one of the pods identified by this alert, it does not seem to have any reason to throttle : [CODE] This pod has one container with t... | The [CODE] is an alert created by the kubernetes-mixin project. There is an open issue ( #108 ) to discuss this alert. I suggest that you read all the comments on this issue to better understand the problem. In short, the problem is: When working with low CPU limits, spiky workloads can have low averages and still be b... | 8 | 15 | 18,812 | 2019-02-27T14:57:28.043 | bi_errors | devops.stackexchange.com | |
747,772 | why is apt-get install anything is asking to update nginx.conf ? How to fix this using chef? | I was trying to install few packages which are non related to nginx (for example htop) using chef script. But it was failing because its asking to update nginx.conf and nginx/sites-available/default. Which I can select using chef. (Which I also don't want to override, because I want to understand and fix the issue inst... | Chef runs apt in non-interactive mode so these prompts don't show up for Chef's package resource, the version of the file deployed by Chef is always used. | 4 | 4 | 876 | 2016-01-08T20:55:40.677 | pipeline_ops | serverfault.com | |
289,101 | Virtualization versus simple consolidation of a web infrastructure | After talking to a friend who works for a virtualization firm, I started to think whether it could be of benefit to my small company. Right now we have our IIS web server on one server, and our SQL database on another. What he was saying is that with virtualization you could put both operating systems and application s... | In such a small environment, I would say that virtualization is likely overkill. Where it starts to come into valuable play is where you're running dozens, scores, and hundreds of servers, but none of them is heavily-utilizing its hardware. Profile your current environment: are both servers sitting at under 40% utiliza... | 3 | 2 | 106 | 2011-07-11T16:06:08.220 | database_errors | serverfault.com | |
238,749 | How to effectively cooperate in a team having mixed background/mindset regarding OOP? | I've been recently assigned for a new high-performance C++ project (finance) together with 3 other guys who, like, me, refer to themselves as "primarily C/C++ programmers", meaning, all of us have also done Java & other stuff, we all have comparable experience (8 to 10 years) and have successfully collaborated for the ... | Ok, I'm going to take a crack at this since nobody else has yet. My experience is perhaps somewhat similar. I transferred from the software department to the embedded software department at my workplace a little over a year ago, and I have definitely heard echoes of the sentiments you're expressing here. Here are a few... | 16 | 11 | 1,273 | 2014-05-11T20:36:06.103 | api_errors | softwareengineering.stackexchange.com | |
490,436 | local vhosts file for apache on linux server | I have apache server installed on linux machine. As of now, i am using httpd-vhosts.conf file for the virtual hosting purpose. 4-5 domains(both IP and name based) are setup and all are working fine. I have one requirement where I want to provide more control to client in terms of vhosts file. I can't provide access to ... | Yes and no. Yes because you can have conf file anywhere and include it with: [CODE] maybe in [CODE] section. No, because: this way this special client can do anything with you config, i.e. make syntax error (no service for all after restart) or do something wrong to others. server must be reloaded to apply changes done... | 0 | 1 | 50 | 2013-03-22T13:08:08.310 | infrastructure | serverfault.com | |
15,445 | unable to take screen shot using webdriver | [CODE] | This should do the work : [CODE] Alternatively take clue from this question on how to take screenshot using Java : https://stackoverflow.com/questions/3422262/take-a-screenshot-with-selenium-webdriver | 1 | 2 | 7,646 | 2015-11-02T09:02:30.733 | data_quality | sqa.stackexchange.com | |
825,624 | Proxmox: Access web server's guest | I explain you my configuration : a server with Debian 8 and Proxmox installed. It has a local address (eth0 : 10.0.0.100) and access Internet via a proxy ; a guest with Centos 7, with an address in 192.168.0.100. I gave it all the proxy configuration and it can access Internet without problem. The local network between... | I solved the problem thanks to the IRC channel of proxmox : I have to listen for the prerouting iptables rule on eth0 interface and not vmbr0, because they're not attached. | 0 | 0 | 940 | 2017-01-11T16:06:19.257 | infrastructure | serverfault.com | |
61,987 | .DLL error when installing firmware for Dell PE2900 PERC 5/i RAID | I'm installing a new RAID firmware version (2.5.0) for a Dell PE2900 which has a PERC 5/i RAID setup. When I run the installer, it gives the message "The procedure entry point RegDeleteKeyExA could not be located in the dynamic link library ADVAPI32.dll." It seems as though the installer wants to delete a registry key ... | I've figured it out. The NTFS security properties of the .dll being referenced had been set without write permission. When the function that attempts to write to the registry is accessed, the program has a permissions error and fails. | 2 | 2 | 2,514 | 2009-09-03T13:55:05.297 | infrastructure | serverfault.com | |
1,103,249 | Issues installing Rootless Docker | I am attempting to install rootless docker on Almalinux 8.6. I am running the appropriate script after disabling rootless docker: [CODE] and I keep getting the following failure: [CODE] I have performed various actions based on answers provided in this exchange. I enabled lingering: [CODE] in order to use systemctl --u... | Try using Podman https://podman.io/ What is Podman? Podman is a daemonless container engine for developing, managing, and running OCI Containers on your Linux System. Containers can either be run as root or in rootless mode. | 0 | 0 | 1,347 | 2022-06-14T12:01:05.250 | pipeline_ops | serverfault.com | |
438,104 | postfix TLS configuration for incoming gmx-mail | I set up my mailserver with postfix 2.7.1 and dovecot 1.2.15 and everything seemed to work just fine, but now I found out that people using @gmx.net addresses cannot send emails to me and rather receive the error message [CODE] /var/log/mail.log shows: [CODE] a more detailed log tells me: [CODE] So gmx just does not is... | At the bottom of your config file, you have [CODE] , this requires all inbound SMTP clients to use TLS. If the inbound client doesn't support TLS, then the connection will fail. (This seems likely to be the case for gmx.net, given the error message.) If you set [CODE] , then you should be able to get email from servers... | 6 | 4 | 2,221 | 2012-10-13T23:13:51.417 | infrastructure | serverfault.com | |
433,749 | where to place active directory integrated DNS server and what type to use | I am working at two branch offices and have been tasked with where to place active-directory integrated DNS severs and what type to use. one of the branch offices is very small (5 users) and has very slow network connectivity. do I need a DNS server and, if so, what type of zone should it host? the second branch office... | Active Directory integrated zones must be hosted by Domain Controllers (DCs), and all Active Directory integrated zones are primary zones. Given this, we’re really talking about where to place Domain Controllers servicing the additional role of DNS server. Determining where to place DCs/DNS servers isn’t always straigh... | 3 | 1 | 3,234 | 2012-10-01T18:29:27.217 | infrastructure | serverfault.com | |
60,083 | why stored procedure performance is very high compared to plain select query | I have a table with more than 2 million rows, with needed indexes. When I run a simple query it takes so much time so I decide to stop executing it; while when I wrap the query in a stored procedure, it runs very quickly ( Also [CODE] for the same query acts like stored procedure and runs very fast. I just want to no w... | Could you check your execution plans for the procedure/query? The execution plan of a procedure is also compiled and stored in the library section, while most of the times, the one for a query is computed ad-hoc (not always though). But still, the generation of a execution plan, surely doesn't take that long. So maybe,... | 0 | 1 | 752 | 2014-03-04T07:37:23.597 | database_errors | dba.stackexchange.com | |
11,310 | To 'DBCC SHRINKDATABASE' or Not To 'DBCC SHRINKDATABASE': That's the question | We're freeing lots of space in a SQL Server 2008 R2 database -a Loooot! enough to care about- (we're dropping lots of unnecessary data). but the database file conserves its file size. we want to regain it. I've heard lots of times that using DBCC SHRINKDATABASE reduces the performance of your DBs -As far as I know, bec... | From Tibor Karaszi's Blog : So what is the problem? Why shouldn't I shrink database files on a regular basis? Have a look at below list and then you can determine for yourself whether or not you want to shrink database files regularly: Each page moved will be logged to the transaction log. Say you have a database with ... | 5 | 8 | 6,453 | 2010-12-23T21:53:57.090 | database_errors | dba.stackexchange.com | |
1,132,111 | I have an existing artifactory oss install. I want a new install. But it is not adding the "libs-release" and "libs-snapshot" repositories | All servers are Ubuntu 22.04 and I am using the OSS artifactory apt repo from jfrog. I have a VM with artifactory installed on it. For various reasons I need to replace that VM with a new one. I installed artifactory on the new VM. I was encountering a problem, can't remember what it was. So I purged artifactory and in... | I finally got it to do the initial setup. Instead of going through my haproxy install using the canonical URL that I have planned for it, I browsed directly to hostname:8081 and then it all worked. Which is odd because I did get the initial setup to work the first time even through the proxy. Then even that didn't work... | 0 | 0 | 111 | 2023-05-28T22:26:38.717 | infrastructure | serverfault.com | |
421,322 | PHP not interpreted using PHP5.4 + Apache2.2 | Does anyone here know why my PHP code is not being interpreted? Apache is running smoothly with localhost, but when I try to execute [CODE] containing [CODE] It's not interpreted. Here is my httpd.conf [CODE] Thank you all ! | You'll need to add directives to configure the php module. This is what the configuration directives look like on CentOS 6.x. Your system may be slightly different. [CODE] | 0 | 0 | 266 | 2012-08-25T15:34:13.053 | infrastructure | serverfault.com | |
686,811 | Windows 2008 R2 Not Printing From Scheduled Task | Problem Since the end of support is coming on July 14th for Windows servers 2003 we are moving all of our scheduled tasks to a Windows 2008 R2 server. We use a Microsoft(MS) Access 2003(mdb) database to handle various backend processes that compliment user and customer interactions with our system. One of the backend p... | This problem can easily occur if you print to a session printer. HKEY_Current_User\Printers\Connections (session printers) vs HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers (local printers) Any printer installed over a network share will fall in that category. Please try again with a printer install... | 5 | 3 | 2,706 | 2015-04-30T17:02:15.703 | infrastructure | serverfault.com | |
656,161 | VirtualBox Networking Lab Configuration | I'm creating a lab for a project that will test a network security defense product's effectiveness in detecting various attacks. I have a physical server with 32GB of RAM and VirtualBox to create the network. I have one Windows server as a domain controller, DNS server, and maybe DHCP server, five Windows 7 machines to... | This has been solved using two internal networks with VirtualBox. The network security device (Security Onion) has two interfaces, one interface for each network. It has IP forwarding enabled so it can route. The Kali machine sets its default gateway to the Security Onion box's IP address for its interface that has the... | -2 | 0 | 933 | 2015-01-04T07:23:16.997 | infrastructure | serverfault.com | |
328,132 | What type should I use to store values like "999999.99" in Cassandra? | I wanna add a price column to my table to be able to store values from [CODE] to [CODE] . I tried [CODE] but it seems it doesn't work. How can I store such a value? I am also wondering to know if there would be any pre-post processing needed after that because I use NodeJS/TypeScript [CODE] number` type! I also like to... | The CQL type [CODE] is a good choice for storing currency values. However, your syntax is incorrect which is why you were getting a [CODE] . You won't be able to specify the precision in CQL since the [CODE] type maps to a variable-precision Java decimal type. Here is an example that shows how to declare a column as [C... | 0 | 1 | 102 | 2023-06-09T22:13:40.510 | database_errors | dba.stackexchange.com | |
202,235 | Regular expression not working in .htaccess | I'm trying to limit which characters can be used in the request URI using: [CODE] For some reason it's not working. Any ideas? Thanks! | Nice question. A good way to protect against XSS (cross site scripting). This is the solution: [CODE] A shorter equivalent would be: [CODE] | 1 | 2 | 415 | 2010-11-15T23:21:04.450 | infrastructure | serverfault.com | |
1,088,600 | Is an EC2 nano instance powerful enough to be used as a proxyserver that uses openVPN? | I would like to create my own VPN for personal use. I want to use EC2 nano instances for that because those instances are the cheapest. My question is: Is a nano instance powerful enough to be used as a proxyserver that uses openVPN? EDIT: Just to clarify a bit more; The VPN will be used by me only. So the proxy server... | It might be, as @vidarlo says, easiest way to find out is to test it. AWS has a free usage tier so it shouldn't cost anything (certainly not more than a few dollars). Another option is to set up something like Wireguard at home on a raspberry pi, and leave it running. I did exactly this on a Pi Zero-W and it was suffic... | 0 | 1 | 167 | 2021-12-30T18:28:21.183 | infrastructure | serverfault.com | |
22,867 | Default Constraints with Merge Replication | I am using merge replication in SQL 2012. Why can't you mark default constraints as NOT FOR REPLICATION? You can disable all default constraints for a merge article, but it is all or nothing so it doesn't seem to offer enough control. How about this scenario, The user inserts a record 'Shape' at a client The 'Shape' ha... | When data is replicated from one server to another using SQL Replication all the values which were inserted into the row are sent along. Default constraints only apply when no value has been specified for the column. If the user specifies a value of 5 then 5 will be replicated and inserted into the table. | 2 | 3 | 972 | 2012-08-21T22:29:57.860 | database_errors | dba.stackexchange.com | |
260,613 | Setting connection collation in master for slave replication | I am trying to replicate a MySQL 8 server (master) to MySQL 5.7 (slave) instance. I know it is not officially supported, but the thing is we need to use a service that has only supports MySQL 5.7. I know there are a few collations that are not available in MySQL5.7 which are present in MySQL8. For that, i converted all... | Find all the Stored Routines; capture the ability to re-CREATE them. Change the [CODE] for each [CODE] that had such routines. [CODE] those routines. Re-CREATE them. [CODE] (etc) to verify that the collation is compatible with 5.7. | 0 | 1 | 756 | 2020-02-26T11:30:43.630 | database_errors | dba.stackexchange.com | |
901,202 | Mikrotik - NAT behind NAT | I have two routers, one given by the internet provider, which I cannot control ( only they can ) and the second is my Mikrotik HAP ac (RB962UiGS-5HacT2HnT). My router was primary before, and I had several ports forwarded. Now it's secondary, so I asked them to forward to the router's IP. However, that's not really work... | The first router is redirecting the packets (rewriting the destination) to 192.168.1.10:7722. As such, this is the address and port that you need to match in the NAT rule on the Mikrotik. | 1 | 4 | 5,995 | 2018-03-12T12:48:59.557 | infrastructure | serverfault.com | |
79,508 | Exchange 2003 SP2 and Windows Server 2008 R2 Domain Controllers | I'm looking at adding two Windows Server 2008 R2 Domain Controllers into our Windows Server 2003 domain to support our Exchange 2003 SP2 server and replace a retiring Windows Server 2003 Server. Our Domain and Forest functional levels are currently Windows Server 2003, which supports domain controller operating systems... | The page you linked states quite clearly that read only 2008/2008R2 domain controllers are not supported; standard (i.e. writable) DCs are supported. It also states that 2008/2008R2 domain and forest functional levels are supported. What is not supported is running Exchange 2003 on a 2008/2008R2 server. | 1 | 5 | 20,428 | 2009-10-29T14:04:38.730 | infrastructure | serverfault.com | |
375,575 | User CALs on Windows Server 2008 R2 with EC2 | Possible Duplicate: Can you help me with my software licensing question? I'm running Windows Server 2008 R2 on EC2. Per Amazon, the server license is included in my fees to them. I have five users that will use Remote Desktop Services so I know I need 5 RDS CALs. Do I also need 5 Windows Server 2008 R2 User/Device CALs... | If your users already have Windows 2008 R2 CALs for within your office than you are covered. If you don't have any Windows 2008 R2 servers within your office, and you don't have any Windows 2008 R2 CALs, and if Amazon doesn't include CALs in their offering, then technically you would need to purchase the Windows 2008 R... | -1 | 0 | 1,627 | 2012-03-31T21:00:23.167 | data_quality | serverfault.com | |
332,301 | PostgreSQL - when is pg_advisory_xact_lock released, and when will persisted data be visible to other transactions | I am currently running PostgreSQL 13, but have also observed this behavior in PostgreSQL 11. I am running into an issue where a UniqueConstraint violation error is thrown, but I would expect [CODE] to be blocking until the transaction is committed (and visible to other transactions waiting on the lock) or rolled back. ... | When is [CODE] released? It's documented : they are held until the current transaction ends; there is no provision for manual release Will the data be visible to other transactions before the lock is taken by a different process? Not necessarily. For example, under the "repeatable read" isolation level, "the other" tra... | 0 | 1 | 713 | 2023-10-18T21:25:58.560 | data_quality | dba.stackexchange.com | |
1,149,064 | SSH access to my AWS EC2 container | [CODE] I get the same thing if I try from Ubuntu run in vbox. I did check and proper ports should be open. sshd is running on the server. The pem file I'm using is not the first one I generated. It's 3rd or 4th one. I've check the windows and linux permissions and tried to set them so they were not public for the pem f... | OK, well it seems after you create the initial ec2 and make a pem file you can't just make a new one without some steps in the ec2 to fix it on the server side. Stop the running EC2 instance. Detach its /dev/xvda1 volume (let’s call it volume A). Start a new t1.micro EC2 instance, using your new key pair. Make sure you... | 0 | 0 | 87 | 2023-12-04T06:03:07.033 | pipeline_ops | serverfault.com | |
1,040,244 | letsencrypt on nginx reverse proxy and nextcloud backend | So I have a running nginx as reverse proxy listening on 443 and 80 for my nextcloud backend. The nextcloud VM is running on apache without SSL, all encryptions are done by nginx reverse proxy. For public access, nginx has setup a rewrite and so clients connect to http://nextcloud.domain.tld will be redirected to https:... | I end up "copying" the letsencrypt certs to all my backend web servers following this guide https://www.techandme.se/share-lets-encrypt-ssl-certificates-between-hosts/ , should be fine now. | 0 | 0 | 712 | 2020-10-27T14:19:36.107 | api_errors | serverfault.com | |
736,539 | Can't remove LVM thinpool - unable to deactivate tdata, tmeta | I somehow messed up some thinly provisioned lvm volumes on ubuntu 14.04 and now I want to start fresh by deleting the thinpool with all its volumes and data inside. Unfortunatelly this failes and I can't find a solution. The logical volumes look like this: [CODE] Now I want to remove the thinpool with the three lvms in... | I finaly solved it very with some simple steps as described here: remove corrupt LVM thin pool [CODE] After following the advice from @shodanshok to boot into Live CentOS7 sticked to the server on an USB stick, I was able to issue the described commands and to eventually get rid of the corrupt thin pool without damagin... | 3 | 4 | 14,513 | 2015-11-15T17:28:52.417 | infrastructure | serverfault.com | |
347,394 | ext4 stable enough for databases? | Is ext4 stable enough for databases and virtual machines? The data integrity issues were due to the data not being really written to the disk and being in the cache which would be cleared after a power loss. The work around as I understand was to put an fsync option in fstab. After enabling that option, wouldn't ext3 a... | In order to prevent loss of data in case of power loss you have to use synchronous writes ( [CODE] option in fstab). This is going to kill your performance and persuade you to think of better alternatives. ext4 is ready for production use. It is default in server oriented distributions for some time now. In case of a p... | 3 | 3 | 2,088 | 2012-01-06T17:27:08.660 | data_quality | serverfault.com | |
143,831 | Composite-like pattern and SRP violation | Recently I've noticed myself implementing pattern similar to the one described below. Starting with interface: [CODE] [CODE] method's pure job is to somehow return user (that would be an operation speaking in composite terms). There might be many implementations of [CODE] , which all do the same thing - return user bas... | This is a factory or repository pattern depending on if the class acts as a go-between or not. It also falls close to a 'manager' class that tends to do too many things. As long as you keep the focus on being a (possibly mutable) source for objects it's a fine approach (imo). | 2 | 3 | 591 | 2012-04-10T17:43:01.980 | data_quality | softwareengineering.stackexchange.com | |
6,275 | CKeditor Recording Problem Selenium IDE | I cannot record CKeditor actions in Selenium IDE. I have added the following commands in my test case, but my problem is that on my page I have a button to save/send some data (from ckeditor too) and when Selenium clicks on the Save button, the written data in ckeditor disappears. [CODE] Any help? | Try to add delay after [CODE] method, so the code will look like: [CODE] And then press 'Save' button. | 4 | 1 | 1,555 | 2013-06-19T04:48:41.503 | data_quality | sqa.stackexchange.com | |
108,564 | Brute-force feature selection and cross-validation | There is an existing score made of 10 parameters; each parameter is equally weighted & the total score is found by summing the score for each parameter. I want to try to reduce the number of parameters in this score, but keep them equally weighted. I have data on 500 people with the score & two outcomes of interest. As... | I think that your method does make sense, it's indeed a kind of cross-validation and it would help obtaining a more reliable estimate of performance. Technically I think the process that you describe is bootstrap aggregation (or bagging): repeatedly sampling (usually with replacement) and calculating the average perfor... | 1 | 0 | 103 | 2022-02-26T16:56:19.463 | api_errors | datascience.stackexchange.com | |
56,964 | How to make sure your company doesn't go underwater if your programmers win the lottery | I have a few programmers under me, they are all doing very great and very smart obviously. Thank you very much. But the problem is that each and every one of them is responsible for one core area, which no one else on the team have foggiest idea on what it is. This means that if anyone of them is taken out, my company ... | How to put it to the old programmers in such they would agree Present the problem openly to them, of course in such a way that they don't see it as a threat, rather an opportunity to make the team and project work better. E.g. "I would like to have other people know what you know in case you get fired" is obviously a w... | 28 | 19 | 1,160 | 2011-03-11T08:09:27.473 | database_errors | softwareengineering.stackexchange.com | |
654,196 | System not being able to handle soft interrupts but having idle time? | I have a constant 5% and more CPU time spent in handling soft interrupts. Doe to that, the [CODE] is running almost constantly, but is using a very small amount of CPU (less than 1%). However, regardless of this heavy load there is still a fairly high percentage of idle time (30% and more)(this is the [CODE] value for ... | There is no heavy load on your system. The interrupts are handled correctly, just as your routing and your application. If it weren't so, your system didn't have 30% idle. (Anyways, where do you see that?) Using a small system to many different things simultanously doesn't always mean an overload, especially if there i... | 1 | 2 | 1,152 | 2014-12-22T14:35:51.993 | infrastructure | serverfault.com | |
48,956 | Why would running a SQL query overnight break my database for the following day? | I apologise in advance if this is a duplicate question (which I bet it will be). I had a good search through and found similar questions but nothing that seemed an exact match. I wrote a report that takes around 30 minutes to run. It does a lot of number crunching and I am quite happy that it takes so long to execute b... | My gut is that it's related to parameter sniffing; when you call the TVF's, do you pass in parameterized values or hard-coded values? For example: [CODE] will perform differently than [CODE] | 3 | 3 | 2,217 | 2013-08-29T15:37:05.443 | database_errors | dba.stackexchange.com | |
349,712 | Design approach for continuous, time-aware processing of records | I'd like to ask what, in your view, would be one preferable and robust software design for implementing continuous processing of records in a time-aware manner. A problem overview of the problem to solve follows: There are records added to the database. Each record is an event with signed up participants. Each event is... | I'd consider scheduling instead. Whenever an event is created, you can tell a scheduling service (which is not coupled with the event creation service) to notify all participants of that event to be notified at some hour. Apart from problems you listed, there is also one with sharing one db/table for two services and b... | 3 | 2 | 109 | 2017-05-27T20:34:56.290 | api_errors | softwareengineering.stackexchange.com | |
642,113 | nginx stopped listening after restarting | I was able to make Nginx run on my Debian 7.7 system using all the default configuration (I didn't touch anything after the installation). I was able to access it by accessing my server's IP. When I run netstat -altpn, I can see that nginx is listening to 127.0.0.1:80 Now, I need to create a new configuration for a new... | I've made it work by following this advice: https://stackoverflow.com/questions/16021481/nginx-not-listening-to-port-80#comment28970877_19084424 As it turns out, it's very important to indicate the full path for BOTH parameters when creating the symlink. | 0 | 0 | 1,246 | 2014-11-05T08:51:46.907 | infrastructure | serverfault.com | |
238,352 | Apache2 Reverse Proxy With Authentication on Windows 7? | I am trying to setup an Apache2 reverse proxy from my laptop (Windows 7, Apache 2.2.17) to a Nexus server (Windows Server 2003) on our network. This is just a test before setting this up for real on an Internet-visible server that we have. I can get the proxy itself setup and proxying Nexus beautifully. But when I try ... | Your user auth is being passed to backend, you could try unsetting the authentication header with [CODE] | 2 | 2 | 4,591 | 2011-02-21T21:08:24.427 | api_errors | serverfault.com | |
653,707 | Impact of Over Provisioning to a half used disk | I very intensively use an SSD, but never fill the filesystem more than 60%. Will the performance and endurance of the SSD increase in case with bigger Over Provisioning space ? The storage controller does not support TRIM, so there is only internal garbage collection possible. | No, you won't see any benefit to endurance or performance from larger amounts of over provisioning ( more than 10-20% ). Note though, that over provisioning does not mean simply keeping free space within the filesystem, since adding and removing files over time will tend to write to different parts of the disk. You hav... | 0 | 0 | 1,144 | 2014-12-19T13:29:13.253 | infrastructure | serverfault.com | |
962,027 | SqlServer on linux getting very slow | I have an Ubuntu 16.04 VPS and started to test SQL Server on it. Installation went flawlessly and I was using it for about a month without any problems. Then I did an apt update and it didn't start. Tbh it started with this kind of error (don't remember the exact error code): Server is in script upgrade mode. Only admi... | After upgrading the packages of my Ubuntu 16.04.6 I discovered a similar behavior. The installation/upgrade of mssql-server to current 14.0.3192.2-2 or other versions was trouble-free. So i didn't get any script upgrade mode you had. But I recognized a significant performance drop. Nothing in logs but with the profiler... | 1 | 2 | 1,621 | 2019-04-08T13:19:58.993 | database_errors | serverfault.com | |
315,897 | IIS 7.5 Application Pool Identity permissions to use WebBrowser | We have an ASP.NET application which uses the WebBrowser class to generate screenshot thumbnails. Moving it to IIS 7.5 causes it to fail due to permissions. What files within Windows 2008 R2 do I need to give the IIS 7.5 Application Pool Identity permissions to use WebBrowser class Note: If I change the application poo... | a) pretty sure it's not supported. b) tried using the Load User Profile advanced property? | 0 | 0 | 558 | 2011-09-27T11:01:05.153 | infrastructure | serverfault.com | |
487,264 | Query between two DNS servers | I’ve been struggling with understanding DNS with BIND9. I’ve used two machines, A and B, connected by a LAN and not for global use. A is running a name server managing “example” domain and web server named “www”. B is running a name server managing “sub.example” domain as subdomain with delegation from A and web server... | There are a couple of things I can think to suggest. The first is that the return code you are getting in the failed digs is SERVFAIL. There can be several reasons for that, but one that you want to rule out first is that something is preventing name queries between machines. I recognize that you say you have turned of... | 0 | 0 | 661 | 2013-03-13T02:05:27.397 | infrastructure | serverfault.com | |
531,553 | How to find files affected by reallocated sectors? | I have a Western Digital RE4 1.5TB that has just reallocated 56 sectors. [CODE] I want to know if it is possible to find out which are the files affected by these reallocated sectors, and if they got corrupted bits because of this reallocation. | Not easily. the sector reallocation happens inside the drive (which is why it's reported to you by SMART) -- your filesystem has no clue it's happening. As far as it's concerned sector [CODE] is still sector [CODE] , that's what it asks the drive for. Internally the drive knows [CODE] is now [CODE] and returns the cont... | 7 | 6 | 2,636 | 2013-08-16T16:59:23.437 | data_quality | serverfault.com | |
490,497 | Easiest way to install latest apache and php on CENTOS | I'm looking for the easiest and most sane way of installing the latest version of apache (currently 2.4.4) and PHP (currently 5.4.13) on CENTOS 6.4 (x64) and I've run into no end of issues. If I use yum with the default repositories the latest version available is 2.2.15 (which seems to have been released Mar 2010) 3 y... | First off, the security patches are backported to the stable versions that RH settles on, there are not holes just because the version is not the latest. Second, if you require php 5.4.13, have a look at the IUS repositories , and maybe give a go at compiling your own apache2.4 if you just have to have it. Most times, ... | 1 | 5 | 8,319 | 2013-03-22T15:38:02.233 | infrastructure | serverfault.com | |
226,322 | Insert Into queries take too much time in Apache spark | I am using Oracle Database with Apache spark 2.3.0 In my code I am writing final output (after all the processing) in three tables using below spark command. [CODE] Each of the three Dataframes has 130 Partions. Each dataframe is writing 30 Million rows. I am using 130 Cores, 26 Executors (Each executor is having 30GB ... | The time distribution on your inserts: [CODE] This is not normal, and the rest of the time is spent waiting on something else. This could be caused by simple transactional locking (TX contention, TM contention) but there is nothing that indicates this in your top 10 events. But there are other waits. You have a high nu... | 1 | 0 | 1,767 | 2019-01-04T12:07:29.157 | database_errors | dba.stackexchange.com | |
1,032,299 | Starting a Windows service fails immediately with error 1053 on Windows Server 2012 R2 | It seems we have reached a limit as to how many Windows Services that can be running at a time. We have about 70 running services, when we try to add another we get the 1053 Error. I've tried the fix that adds the ServicesPipeTimeout registry key but that didn't help. If I stop a service (like Print Spooler), I can sta... | You might be more be hit by a server performance limitation or a bad services that you try to add (badly coded) as the error 1053 just mean the service wasnt able to start under 30 seconds. Which could be normal on a overloaded server. Error 1053: The service did not respond to the start or control request in a timely ... | 0 | 1 | 5,481 | 2020-09-01T16:14:23.360 | data_quality | serverfault.com | |
972,035 | stunnel can only accept on port 80, possible iptables configuration | I am trying to get stunnel to forward from a port (eventually via https on 443) to port 8080. The http served on 8080 is already visible correctly by a remote browser. I have tried some 4 versions of stunnel between 4.42 - 4.55. On Ubuntu 16 and 18. The stunnel program output: [CODE] stunnel.conf (am I missing somethin... | I finally got it working. My hosting provider adds another firewall outside this server, so in addition to configuring iptables, I also have to go to the provider's website and configure firewall settings there (and then they take some minutes to take effect, so be patient). | 0 | 0 | 1,225 | 2019-06-19T08:02:57.200 | infrastructure | serverfault.com | |
839,341 | How to track scripts that are sending SPAM? | Our server is hosting multiples websites for different clients. The hosting provider has blocked the port 25 after detecting that our dedicated server is sending spams. I have checked Qmail logs but found nothing suspicious. Spamassassin at first look seems not giving too much options for my problem. | How to track scripts that are sending SPAM? Since your hosting provider has blocked you from sending mail you can inspect the mail logs and mail queue for clues: Depending on your system setup scripts are running under a unique client ID that gets logged, which narrows down the hosting account. Look at the mail queue, ... | 0 | 2 | 1,391 | 2017-03-20T07:28:35.240 | infrastructure | serverfault.com | |
908,265 | Apache make authorization have precedence over authentication | Our website has been mirrored recently and so, I'm trying to: exclude a live mirror called badmirror.com setup a basic authentication for mysite called mysite.com I've first managed to expulse the badmirror.com using this expression in my virtual host: [CODE] So basically this line does the trick: [CODE] With this in p... | Found it on the very comprehensive apache doc: https://httpd.apache.org/docs/2.4/mod/mod_authz_core.html . So in my case I just needed to combine the Require directives in a RequireAll directive, that did the trick for me: [CODE] | 1 | 1 | 532 | 2018-04-18T13:39:53.127 | api_errors | serverfault.com | |
423,763 | What happens after the ETL process? | I have thousands of .csv files with the same structure and, in most of the cases, some column values are the same ones recurring. Each file represents a report on some structures, with numeric attributes and a date. I want those to be structured and suitable for cleaning missing values, visualizations, predictions, etc... | An ETL is just a procedure. You: Extract the data from any source. In your case, this would be the CSV files, but it could be anything: data from an external service, data stored in some proprietary format, etc. Transform the data somehow . The idea is that the raw data you got in the first step may not be exactly what... | -2 | 3 | 378 | 2021-03-24T22:54:39.680 | bi_errors | softwareengineering.stackexchange.com | |
142,912 | Should I use a separate class per test? | Taking the following simple method, how would you suggest I write a unit test for it (I am using [CODE] however concepts are similar in other tools). [CODE] If I try and follow the rule of one assert per test, my logic would be that I should have a Class Initialise method which executes the method and then individual t... | You need to look at the [CODE] pattern. For each test you: Arrange the Code Under Test and any dependent variables. Act by calling the method on the Code Under Test. Assert what you need to ensure the test passes (this should be one thing per test). In this case you will use: [CODE] This allows you to see exactly what ... | 1 | 12 | 8,558 | 2012-04-04T10:15:13.150 | api_errors | softwareengineering.stackexchange.com | |
285,439 | What parallelization methods can make neural nets train faster? | A fairly straightforward way (on a theoretical level, at least) of parallelizing artifical neural networks (ANNs) would be to divy up the batches of training examples during every epoch so that several workers can calculate their respective contribution to the error gradient in parallel. This certainly helps learning w... | Well, someone upvoted this question and I guess that made it pop up for me. It's nice to know I learned something in 4 years :) Turns out the answer to this question is, in many wonderful and general ways, affirmative. Decoupled Neural Interfaces make NNs layer-wise asynchronous, allowing multiple concurrent forward an... | 3 | 2 | 121 | 2015-05-31T22:11:14.867 | api_errors | softwareengineering.stackexchange.com | |
71,178 | How to log DML statements executed by a pl/pgsql function? | I have a pl/pgsql function (see below) that lists some fields and clears their contents using dynamically constructed UPDATE commands. When I set [CODE] , I can see nothing on the log upon execution of the function with [CODE] . When I set [CODE] , and execute the function I can see [CODE] in the log, but not the under... | So, my suggestion as an actual answer: If you need it only in this function, you can do a [CODE] , or in your actual code: [CODE] Also, I find the [CODE] construct much smoother. | 7 | 3 | 8,257 | 2014-07-10T15:55:52.760 | warehouse_errors | dba.stackexchange.com | |
307,678 | Compare signed integers as if they were unsigned | I am using PostgreSQL to store 64 bits IDs. The IDs are unsigned and make full use of all their bits (including the first one). To store said IDs, I am currently converting them to signed integers before inserting them as [CODE] (because Pg doesn't support unsigned integers). This does work, and I am able to convert ba... | You could compare like [CODE] An [CODE] clause could be [CODE] (which works because [CODE] ). Or you could do the smart thing and use the data type [CODE] that allows you to store the numbers as they are. | 2 | 2 | 215 | 2022-02-18T08:40:46.997 | database_errors | dba.stackexchange.com | |
90,432 | How to estimate real distance between two detected objects in an image? | You may think this is a duplicate, but my situation is different than previously asked questions. The only information I have is the width and height of the bounding boxes of detected people. The dataset I'm working on has images captured in different environments (street, garden, mall, ...). In other words, there is n... | Distance in an image is based on pixels. You will need to convert this distance to the actual real world metric like cm or inch. To make this happen, you will also need a reference object in your image whose real world dimensions are already known to you. Or you will need the distance between the object and camera. If ... | 1 | 0 | 1,356 | 2021-03-09T10:19:57.063 | data_quality | datascience.stackexchange.com | |
210,150 | Merge multiple rows into fewest number of rows of distinct values | In SQL Server does anyone know of a nice way to merge/flatten multiple rows of data into the fewest possible rows containing only the distinct non null values. I.e. A dataset like this: As this: If it helps, the before dataset is a pivoted line listing but without the aggregate. I can't aggregate it during the pivot as... | Your data appears to lack any relationship between the various column values. If you can define this relationship, you can [CODE] the data appropriately. For example, if you simply want to align the data based on the order of the value (based on your default collation), you could use: [CODE] | 3 | 2 | 2,547 | 2018-06-20T15:25:44.917 | data_quality | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.