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 |
|---|---|---|---|---|---|---|---|---|---|---|
28,644 | Why does max_used_connections status not get refreshed automatically once it reaches max_connections, even though the Threads_connected falls down | I always wonder, why does the [CODE] value not come down, once it reaches the peak value of [CODE] ? I always flush the status and bring down this value to avoid DB connection refused errors and warning messages in the error log: [CODE] [CODE] [CODE] Here is the Aborted Connections Status: [CODE] I observed in some sce... | It doesn't come down because it isn't supposed to come down. [CODE] is a status variable, and is defined as "the maximum number of connections that have been in use simultaneously since the server started." It turns out, you can also reset the value to the current number of connections using [CODE] . But that isn't a "... | 10 | 12 | 44,434 | 2012-11-14T02:24:56.790 | api_errors | dba.stackexchange.com | |
38,352 | Error showing for url when try to run api test script with Newman | I'm beginner to REST API testing. I wrote some scripts for some scenarios using postman and tried to run with Newman. (In there URL defined as environment variable.) Showing errors for that URL when try to run with Newman.Why this is happened. How to resolve this issue.(Error is not showing when directly put the url to... | I found an answer for that Download both collection and env files Store in a folder Using cmd go to folder location( cd {folder path}) Type command as below newman run {collection name.json} -e {env path} {env name.json} | 1 | 1 | 68 | 2019-03-21T06:49:44.467 | api_errors | sqa.stackexchange.com | |
286,065 | How to model local exceptions to distributed tables | I am looking for possible ways to model a distributed table(s) and provide local exceptions to that table. Consider a situation where head office publishes a list of products/prices that is distributed to branches and they load this price list into their local database. Now sometimes these branches want to change the h... | Put the COALESCE in a view write queries against the view, not the base tables. It would help if you could remove access to these tables and grant access to the view only. There will be a small runtime penalty with this, as two tables must be read. If you could change the load to perform the COALESCE once at load time ... | 2 | 0 | 34 | 2021-02-26T08:00:07.277 | data_quality | dba.stackexchange.com | |
646,735 | Converting VMware VMs to Hyper-V | Our company is looking to try out Hyper-V as a server virtualization solution so I am looking for the most efficient way to test everything out safely. My plan is to make a snapshot backup of each of the 10 VMware VMs (these are live production servers) and then use Microsoft Virtual Machine Converter to convert the sn... | I haven't used it myself, but I know Starwind has a free VM image converter available on their site. Here's some more info on that: http://www.starwindsoftware.com/converter One thing worth noting is that it sounds like their converter makes the conversion without affecting the VM's operations, but I don't have any exp... | 6 | 2 | 858 | 2014-11-24T19:18:57.013 | database_errors | serverfault.com | |
1,110,393 | MYSQL server on EC2 is sometimes refusing to connect | I have hosted a MySQL DB on AWS EC2 instance(t2.micro, ubuntu, free tier). I am able to connect to it and store data. But most of the time, I am unable to connect to it via workbench or my app. But my configurations are correct since I am able to connect to it sometime and store values. The workbench throws the followi... | With the limited information provided from your EC2 server, Observations, Connections were 895 Aborted_connects were 357 for your uptime of the instance. To attempt to reduce connect failures, consider for your EC2 Parameters Group, [CODE] Things we do not know that might influence your timing, the availability zone wh... | 0 | 0 | 282 | 2022-09-10T11:45:06.923 | database_errors | serverfault.com | |
976,418 | OpenVPN - client connected to server, but cannot ping server or server's LAN | I am trying to ping the network of the Ubuntu server from Windows 7 (client). Both Ubuntu and Windows are clients on another OpenVPN server with the option [CODE] . The client can connect to the server (gets an IP address of 10.0.0.50), but cannot ping any addresses on the server's network. I tried this server option: ... | All I needed to do was run these commands on Linux after the OpenVPN service started: [CODE] You can see them used in OpenVPN's guide: Ethernet bridging, Windows client, Linux Server Also make sure your Windows TAP adapter is on DHCP, mine likes to go to a blank static address for some reason. | 1 | 0 | 1,368 | 2019-07-23T22:12:37.207 | infrastructure | serverfault.com | |
149,215 | Disable the user of Internet explorer through policies when called from HTML help | I have a locked down environment where users are prohibited from doing, well, basically anything but run the specific programs we specify. We just switched a program from using the venerable "WinHELP" help format to HTML help (CHM) but that seem to have an unwanted and rather dangerous side effect: when a user click on... | I don't think you can. If its not running as IEXPLORE.exe the only option available is to continue blocking the help application from starting. | 2 | 0 | 272 | 2010-06-08T13:05:26.347 | infrastructure | serverfault.com | |
85,764 | Why is prefixing column names considered bad practice? | According to a popular SO post is it considered a bad practice to prefix table names. At my company every column is prefixed by a table name. This is difficult for me to read. I'm not sure the reason, but this naming is actually the company standard. I can't stand the naming convention, but I have no documentation to b... | Underscores are not evil just harder to type. What is bad is changing standards midstream without fixing all the existing objects. Now you have personId, Person_id, etc. and can't remember which table uses the underscores or not. Consistency in naming (even if you personally don't like the names) helps make it easier t... | 32 | 47 | 53,825 | 2011-06-20T19:09:47.720 | database_errors | softwareengineering.stackexchange.com | |
327,070 | MySQL denied me access after changing my password | I am new to MySQL. Today is my first day using it through XAMPP. I have managed to change my password using the code [CODE] Suddenly I was denied access from XAMPP and from the MySQL Admin portal. I tried to reset the password immediately in the same window using the same command but I was given the error [CODE] I saw ... | maybe the root is not configured to localhost, if it is a new database, and can do this safely, you can try: change the my.cnf, set mysql skip-grant-tables restart mysql server, now you can visit the server with any account select data from mysql.user and get the rows that user='root' and get the info. now: skip-grant-... | 0 | 0 | 117 | 2023-05-13T22:41:56.987 | database_errors | dba.stackexchange.com | |
234,966 | How to store data in look-up tables when some of it may be semantically different, but logically the same? | I am working on a system that receives communications from various laboratories. Each laboratory has two separate, independently operated data services which means that Laboratory A and Laboratory B could send the same data to the system, but they may send it in different formats (if they use different systems). I'm tr... | Am I missing something or does this seem like the best way to achieve this? Item 1 You seem to be missing the part of the contract with the laboratories that state "you will send us data in this format.". That document should clearly list the valid values for [CODE] (even if it is their list of values). Design Idea 1 r... | 0 | 0 | 34 | 2019-04-16T19:35:43.903 | warehouse_errors | dba.stackexchange.com | |
386,619 | Does method argument self-sanity checking violate the SRP? | I have a method [CODE] which essentially sends a login request to a remote server. As I do not want to waste server resources on processing invalid data, I decided to consider sanity checking the input before I send it. The code looks something this: [CODE] However, after learning more about the Single Responsibilty Pr... | Aspects are odd ducks in SRP (security, logging, etc.). They are often required for a variety of truly valid business reasons, but seem to push a lot of conditional steps in (if the input is safe, then use it to log in, and if something weird happens, log it). Depending on how pedantic you are, sure, it violates SRP. B... | 4 | 8 | 381 | 2019-02-04T17:04:34.113 | data_quality | softwareengineering.stackexchange.com | |
1,122,161 | Best way to identify what's crashing Print Spooler? | I have a client with a centralized print server (Windows Server 2019) that manages about 65 printers with ~200 users (max). The Windows Print Spooler crashes 5+ times a day, and it's always due to faulting module "wsnmp.dll". From what I've been able to find online so far, I suspect that one or more of the client's Kon... | It’s always a bad print driver that eill crash the spooler. Update the bugged one ! Check your eventlog for the dll and find the path of it to list its property. You will find the brand and possibly which one is causing the bug. When you will know the one that bug, start by validating that your print driver are in Isol... | 0 | 1 | 2,024 | 2023-02-06T22:34:54.167 | infrastructure | serverfault.com | |
1,099,251 | WinServer2016 - Access Denied when adding or changing a GPO | I have inherited a network whose GPOs are damaged, the SYSVOL folder shows signs of tampering with the NTFS permissions and folder structure manually, and I am unable to add/edit any GPOs, I receive an "Access Denied" error and the only entry in eventvwr I can find looks like an app crash for the mmc plugin. From times... | If anyone else runs into this in the future. Some numbskull renamed the sysvol folder on the PDC... fixing that fixed everything else. | 0 | 1 | 1,929 | 2022-04-22T21:35:24.093 | database_errors | serverfault.com | |
281,815 | Default Domain Policy Corrupted | It appears that our domain's default domain policy is corrupted. The GPT.ini file is corrupted. When I go to open it, I get an access denied error. I tried to take ownership through explorer, takeown, and CACLS with no luck. I also tried DCGPOFIX /target:Domain which froze when the process started. Any thoughts would b... | From the comments, it sounds like you're going to have to boot a domain controller in Directory Services Restore Mode to be able to delete this file. If you've forgotten the password to do so, here's how to reset it . | 5 | 1 | 2,745 | 2011-06-18T20:18:09.340 | data_quality | serverfault.com | |
194,960 | Moving a PostgreSQL database to a different AWS RDS instance | I have an AWS RDS instance with multiple PostgreSQL databases in there including an application database and a monitoring database. The problem is that the monitoring database is consuming lots of resources and causes performance problems in the whole instance, so I'd like to have the application database and the monit... | You can safely replicate the whole instance using DMS, then remove the unnecessary DBs on both resulting clusters. After this, you will most possibly have excessive storage on the new instance - I think (but never tried) you can just do another such migration to a fitting (smaller) instance type. | 1 | 2 | 1,580 | 2018-01-09T10:16:21.490 | pipeline_ops | dba.stackexchange.com | |
119,956 | Should I be suspicious of this querystring? | I noticed in my application event log some errors: [CODE] [CODE] What is this kind of request trying to do? | The term "DTİNST32" is actually referring to dpinst32.exe which is a driver. So IMHO, the log entry is fine. But you may want to check the device settings and try to update the driver. You may want to see this document from Microsoft discussing driver installation for 32-bit and 64-bit platforms Rich | 3 | 2 | 192 | 2010-03-07T01:58:12.933 | infrastructure | serverfault.com | |
984,005 | Rsyslog Not Recognizing Some Hostnames | I have an rsyslog server running on CentOS (CentOS Linux release 7.4.1708 (Core)). We use this mostly for network devices, mostly Cisco. I ship the hostname with all my logging events. My server creates a directory for each host, based on its hostname. However, many of the hostnames are not recognized, and the director... | I had similar issue with my rsyslog server. I am collecting syslog messages from many devices Linux box, Cisco and MikroTik devices and so on. It appears that hostnames of networking devices do not get resolved properly and they appear with their IP address or another names like _gateway for example. What I have come u... | 0 | 0 | 4,156 | 2019-09-12T15:30:32.217 | infrastructure | serverfault.com | |
19,283 | Why MLP only learns bias for unbalanced binary classification? | I just started training a MLP model on a data set which has the following statistics. Notice that both train and validation sets are unbalanced (88.4% negatives). Note : The unbalance isn't caused by sampling and is because that's the natural ratio of the classes. E.g. when I look back in a 3 month period, I see I have... | Generally there are a number of ways to deal with class imbalance ( more details here fore example ). Specifically in your case, I would either try training with the training samples evenly distributed in classes or I would play around changing the loss function, to take into account the different classes' support. For... | 2 | 2 | 3,097 | 2017-05-28T21:22:52.203 | data_quality | datascience.stackexchange.com | |
695,132 | Redirect Subdomain That is Not on SSL | I have a SSL certificate that is installed on the server that only covers the domain, not subdomains All traffic is redirected using apache config file When I set up the subdomain to redirect a subdomain you get the browser alerting you that the site isn't safe because the SSL doesn't match the domain. I want to catch ... | Thankfully, SSL doesn't work that way. Every new domain you go to will have a new DNS lookup and a new SSL handshake and the certificate will be verified each time. If you think about it, that's a really good thing for security! (Despite inconveniencing you in this situation) Your best bet is to get a wildcard cert or ... | 1 | 0 | 1,602 | 2015-05-28T20:41:41.730 | api_errors | serverfault.com | |
87,197 | Secondary Clustered DTC will not work when Primary goes offline - SQL Server Issues | I've been working on setting up clustered environment with a two new DTC roles, DTC1 and DTC2. I set up DTC1 which allows both clustered VM's and SQL Server Instances to function correctly. However, when I disable DTC1, DTC2 will remain online but no DTC transactions will work. I'm actually going through this issue wit... | I don't believe what you want to do is possible through Windows or SQL Server configuration. Per Microsoft's guidance here , SQL Server will choose an MSDTC instance when it starts and, if that MSDTC instance fails, distributed transactions will fail: What happens if the MSDTC Resource that was picked at SQL Service st... | 3 | 0 | 1,582 | 2014-12-29T16:31:18.107 | database_errors | dba.stackexchange.com | |
1,055,223 | Why would Google be throwing away emails from virtual domains to virtual domains? postfix | I'm seeing some odd behavior and am hoping someone has seen this as well. I have a CentOS server running Postfix for virtual domains for my businesses. It was working well for years and then suddenly recently -- apparently around February 17th 2021 -- it became obvious that I was missing certain emails that people were... | I believe I fixed this, apparently it's a somewhat known issue with virtual alias forwarding to Google that Google may see the forward, look at the original sender, see the forwarded email is from a server not on the SPF list for the original sending domain, and silently dispose of the email, never to be seen. The appa... | 1 | 0 | 121 | 2021-02-26T17:43:27.893 | infrastructure | serverfault.com | |
631,235 | What is a recommended way to patch the Shellshock Bash bug on an unsupported Ubuntu server? | I maintain an out-of-support Ubuntu 12.10 (Quantal Quetzal) server (don't ask me why, please), and we need to patch the Shellshock Bash security bug. As upgrades are not available anymore, what is the recommended way to patch Bash? I found this answer (it recommends retrieving packages from Debian and to not install bi... | This write up was helpful and worked for the few instances of Ubuntu 12.10 (Quantal) I still have to support. Fix Bash Exploit On New and Old Releases of Ubuntu In Summary, the steps are: Get the codename of your current release (e.g. quantal) and store it in a variable: [CODE] Change source to trusty in [CODE] . For e... | 6 | 13 | 12,471 | 2014-09-25T13:39:45.563 | infrastructure | serverfault.com | |
513,311 | Migrating to kvm | Ours is a small setup. Currently we have two windows/hyper-v servers running around 8 ubutu server virtual machines. The virtual machines were built long time back to the extent that ubuntu version is no longer supported. We are planning to move all virtual machines to Ubuntu 12.04 as its supported long term. I am tryi... | master file approach is good, but you need to make sure you plan your space out right - if you simply clone VMs from the master image, that's one thing, but if you take qcow2 snapshots, then those VMs will be thin provisioned and will grow with time. They will also not be able to be moved directly to another host, you'... | 1 | 0 | 148 | 2013-06-05T06:05:20.800 | infrastructure | serverfault.com | |
286,492 | Why does SQL Server do lots of unnecessary clustered key lookups in this SELECT - OFFSET - FETCH? | I have the following table: [CODE] There are over 10000 rows in the table with a [CODE] of [CODE] . When I execute the following query: [CODE] ... I get the following actual execution plan: Why did SQL Server need to do 9210 instead of 10 clustered key lookups? The index [CODE] should've allowed it to figure out the 10... | I agree the optimizer could be smarter about where the key lookup should occur in the plan with [CODE] and [CODE] . As a workaround, you could use a CTE like below. [CODE] The nested loop key lookup is then done after the [CODE] operator in the plan . | 2 | 3 | 330 | 2021-03-05T11:51:25.010 | database_errors | dba.stackexchange.com | |
184,517 | Always On Availability Groups with Encrypted Connections | We have a two-node SQL Server 2016 AOAG, TestA, TestB and listener TestL. We want to begin using encrypted connections between the app server/client and the db server. I have found the section below in two MS documents about implementing connection encrypting. Just wanted to know if this holds true for AOAGs? I suspect... | First for an AG you need to Force Protocol Encryption on each instance participating in the AG. With an FCI there is only one instance. Also with an AG clients can connect to the AG Listener, and they can connect to the instances directly. So you have to configure the certificates accordingly. See https://learn.microso... | 5 | 6 | 9,021 | 2017-08-28T18:48:58.583 | database_errors | dba.stackexchange.com | |
322,953 | How is Cassandra data stored physically on disk? | I am learning cassandra architecture and was going through how write and read is done. What I learned is that on a write the MemTable(sorted by partition key) and commitLog(append only) are written onto. Then after some time, MemTable will be flushed to the disk in a SS table and commitLog will be purged. What I am abl... | Cassandra is a columnar DB No, it is not. Cassandra is a partitioned row store. the columns which are not required are not touched and only selected columns are fetched. As we are storing rows, how only selected columns are touched on disk or memory and not the whole row? So the underlying file itself is read, and the ... | 2 | 1 | 537 | 2023-02-02T15:24:11.887 | database_errors | dba.stackexchange.com | |
149,190 | Simultaneonus NX client connections | I would like to have two separate NX connections for the same username going from one dual-monitor client to NX server. The idea is to get two separate same username KDE sessions. When I try to do it the most obvious way (by starting one NX client on each separate monitor), second connection just over takes the first o... | Create an alias username in [CODE] and [CODE] (using the same [CODE] and [CODE] and password). But be aware that 2 parallel KDE sessions may still be creating conflicting settings in [CODE] files -- so this may not work well (but that wouldn't be an NX/FreeNX problem per se...). | 0 | 0 | 143 | 2010-06-08T12:03:28.017 | infrastructure | serverfault.com | |
698,840 | Rsync over ssh folder depth limit? | i'm working on a server migration and run into the following problem: I'm running rsync to migrate all the data but for some reason there is a folder depth limit... This is done via rsync over ssh command: [CODE] 70.50 is the new server, and i'm running the command on the old server. Folder structures are extremely dee... | rsync has no limit on the depth of subdirectories it will traverse. More specifically, it exceeds the limit of the Linux file system. I just copied something that was about 500 levels deep and rsync copied it just fine. If you are experiencing this problem, check the following: is the destination file system incapable ... | 2 | 1 | 2,666 | 2015-06-13T23:10:18.457 | infrastructure | serverfault.com | |
787,355 | How to figure out why my NAT-box sends TCP RST packets? | TL;DR : I see that an ubuntu (which I have an absolute control of) host sends a packet under certain circumstances. How to find the application/kernel module responsible for that packet? I am developing a homegrown NAT-box, and I arrived to this point: The network topology: [192.168.1.100] -- [192.168.1.1 : 10.0.0.4] -... | Are you able to verify that the source/client sending original SYN packet is NOT actually two endpoints with the same IP address being shared behind the NAT??? YOu must verify this first before we can proceed to resolving this for you. Please verify and get back to us. One way to test is to SSH from the NAT box to the ... | 0 | 0 | 2,219 | 2016-07-01T09:53:42.017 | infrastructure | serverfault.com | |
433,903 | How to clear contents of all the files using find command | Is there an easy step to clear contents of all ".log" file using find command. Currently i am using "echo -n > filename.log" i have tried echo -n > /var/application-logs/*.log but it is not working.. is there a better way to clear contents of multiple files? | To clear everything [CODE] finds, use this: [CODE] If your version of find supports it, use [CODE] instead of [CODE] to use a single run of tee for all of the files. Alternately, if a shell glob is sufficient: [CODE] | 0 | 6 | 3,737 | 2012-10-02T05:02:29.647 | infrastructure | serverfault.com | |
1,081,188 | Recover BTRFS? bad magic on superblock on /dev/md2 | so after a recent power outage my DS718+ RAID crashed. After investigation with Syno Support we also identified that my RAM was broken (already removed) and as it was not a officially supported RAM module they now will no longer help me with recovering my RAID (thx for that) because they suspect the broken file system ... | Have you tried just assembling the array? I have a system that always drops its array at reboot. I've tried to make an mdadm.conf with no luck, so I just reassemble it at the next reboot using the create command. As long as the devices are in the same order, it'll assemble just fine. In my case, I use raid5: [CODE] | 1 | 0 | 3,126 | 2021-10-20T20:50:20.990 | database_errors | serverfault.com | |
1,108,830 | Using Nginx to Block Connections that aren't addressed to my domain | I am running a django app on AWS elastic beanstalk and I'm getting spammed by bots trying to scan for vulnerabilities. It results in a flood of errors such as: (Where xx.xxx.xx.xx is my ec2 instance's ip address.) [CODE] My legitimate users only access the site using the domain name. I've been trying to figure out how ... | It seems like your only virtual host is the one with [CODE] attribute. It means that if no matching virtual host is found, that block is used to serve the request. To properly handle your case, you need to have: [CODE] block with [CODE] in the [CODE] directive. This block should only have [CODE] or [CODE] . You might w... | 6 | 10 | 7,456 | 2022-08-22T20:10:31.407 | database_errors | serverfault.com | |
896,936 | What can cause a local administrator account to be unable to access a local folder, even when using special privileges that bypass NTFS security? | I have a Windows 2012 R2 server where local administrator accounts (or at least one particular one) cannot access the "System Volume Information" folder. This works for the same account with the same exact permissions on another server. We use a program that scans the server's local disks which I am sure uses the backu... | One possible cause may be the application/code leverages backup privilege, and the account used does not have backup privilege on that server. Accounts/applications that possess and use backup privilege bypass file system permissions. Members of Administrators and Backup Operators groups have backup privilege by defaul... | -2 | 1 | 894 | 2018-02-12T19:24:08.490 | database_errors | serverfault.com | |
437,111 | An error occured synchronizing windows with time.windows.com | Okay so I've tried stopping/registering the win32tm service on this [CODE] Computer. [CODE] And I get this error from the [CODE] , [CODE] tab (After also following the steps here ). (source: iforce.co.nz ) I've even tried the Atomic Time Clock Worldtimeserver and I get the error [CODE] . I've also disabled the [CODE] ,... | Its a little late, but you often get that error if your clock is wrong. Shockingly enough, you need to set the clock to a nearly correct time for it to synchronise properly. Its probably so that if you DID get time related wierdness regularly , you will get off your rear and work out why its happening - its often due t... | 1 | 4 | 31,736 | 2012-10-11T02:21:34.223 | infrastructure | serverfault.com | |
275,790 | The backup set holds a backup of a database other than the existing | I'm trying to restore my production [CODE] file to a new local instance using the below script but I still get this error: The backup set holds a backup of a database other than the existing MyDatabase database. I'm using SQL Server 2019. [CODE] | This is a type of safety check done by SQL Server so you don't by mistake overwrite the wrong database. I believe it includes things such as that the destination database exists and the name of the destination database isn't the same as the name of the database you have in the backup. Possibly a few more things. So dou... | 1 | 2 | 9,126 | 2020-09-20T16:38:43.080 | database_errors | dba.stackexchange.com | |
47,438 | Targeting MSX with job on Multi-Server Administration | I am using Multi-Server Administration to execute jobs on multiple targets. This works well, but I am not able to enlist the master as a target. I receive the following error when attempting to enlist the MSX as a TSX: Server 'XXXXX' is an MSX. Cannot enlist one MSX into another MSX. (Microsoft SQL Server, Error: 14299... | Based on my understanding, the master server (MSX) cannot be a target server (TSX) that receives jobs from another master server i.e You cannot list one MSX server into another MSX, you have to defect it and make sure it is not enlisted with any other master server. Its a simple two-level hierarchy: a server is a maste... | 4 | 2 | 1,732 | 2013-08-01T17:52:51.223 | database_errors | dba.stackexchange.com | |
989,363 | Message-ID of delivery report is equal to original mail | I discoverd that the delivery status report has the same message-id as the original mail. Here is the text of the delivery report: Incoming DSN message: [CODE] Corresponding outgoing original mail: [CODE] I could not find anything about this from the Bounce Message Wikipedia page . Is there a spec for this, or is this ... | I just checked one of my bounced emails and the original sent email. Original message has a Message-ID header with a value similar to this: [CODE] Bounced message refers to this ID in two places in the header: [CODE] Also in the attached details.txt I see: [CODE] The Message ID in the bounced message has a different ID... | 2 | 3 | 1,289 | 2019-10-25T06:50:08.697 | infrastructure | serverfault.com | |
330,905 | Partions on a partitioned table getting created with the same partition number in Azure SQL database | I am creating a table with partitioning logic. Below is the partition function and scheme: [CODE] If you run the bloc to create the partition function uncommenting the PRINT statement, you'll see the below: [CODE] [CODE] And I'm using this scheme to create a table using the below DDL: [CODE] If I check the partitions c... | The indexes are all [CODE] not [CODE] so they are not partitioned at all. The reason you are getting multiple rows in [CODE] is because you have multiple indexes, but all of them only have one partition. Instead you are going to have to recreate your PK as a non-clustered index, and create a new clustered index which i... | 0 | 1 | 20 | 2023-09-04T10:47:29.093 | warehouse_errors | dba.stackexchange.com | |
560,600 | Near 100% disk usage, df and du show very different results, lsof not the answer | The issue is that my CentOS 5.8 machine is telling me that I am nearly out of disk space when I am pretty confident this is not the case. I've done a fair amount of researching on this issue and have been unable to find a solution. 'df -h' shows 210G used, 8.6G avail 'ncdu' shows 28.6G used (same for apparent size) As ... | You may try running [CODE] from a live Linux to check for FS corruption. The partition must be unmounted, that's why you need to boot up a live Linux. | 4 | 1 | 2,197 | 2013-12-11T07:02:21.640 | database_errors | serverfault.com | |
1,113,001 | WinRM connectivity issues with workgroup and vlan subnet | Situation: 1 server (Windows Server 2022) (192.168.15.5) 1 client (Windows 11) (192.168.5.5) Unifi network setup where both machines are on a different VLAN (subnet) On the server: Run [CODE] Run [CODE] Run [CODE] (to make sure other subnet should be able to connect) On the client: Run [CODE] Run [CODE] Run [CODE] When... | Thanks to the comments, it was possible to some further investigation. The Windows firewall was not blocking anything. Ultimately it was Unifi blocking consecutive requests with the signature: [CODE] Via Unifi, you can view this via [CODE] => [CODE] Here one can suppress this threat for specific machines inside the net... | 0 | 1 | 1,464 | 2022-10-13T14:55:30.960 | infrastructure | serverfault.com | |
231,381 | When/Where to create/assign event handlers to its elements | Lets say I have the following code [CODE] which target some HTML elements [CODE] Am I right when I say that this code needs to be called on every full page load? a: If so, what if one of the elements doesn't exists on the chosen page? b: To avoid errors an "if exist" check is necessary, right? c: jQuery will do that pr... | Always, JavaScript and jQuery never does a thing if you don't run it after a full page load. With jQuery, if no such element(s) exist, nothing happens. Dynamically added content will not have the handlers that have been applied by previous jQuery calls. I'm not sure exactly what will happen if you run the code again, b... | 0 | 2 | 959 | 2014-03-05T18:11:40.053 | api_errors | softwareengineering.stackexchange.com | |
503,815 | Redirect traffic on port 80 into apache for unknown macs, and into squid for some macs | I have a linux box behaving like a router that handles two network interfaces: eth0 for internet and eth1 for LAN. I set up iptables in order to redirect all the web traffic coming by the LAN into a local apache, listening on port 80 as well, using these rules: [CODE] Now I need to add an exception to this behaviour fo... | Why do you repeat all those filter criteria in the [CODE] line? you mark a packet, that's it. If more criteria appear then you should change the marking but not check for more than the mark. BTW the chain name [CODE] seems rather suboptimal to me. [CODE] | 1 | 0 | 719 | 2013-04-30T10:19:30.243 | infrastructure | serverfault.com | |
852,014 | transfer rate faster than the NIC suggests | i followed this thread to get the information on reading NIC speeds. How do I verify the speed of my NIC? i am using ethtool to verify the speed of my NIC as discussed the thread. [CODE] i know that, this is a virtual machine and the NIC should be simulating a 1000Mbs speed. That makes 128MB for 1 second and this shoul... | In a VM, the NIC speed is not a real limit. If the host can push 2000Mb/s in to a guest, then so be it. | 0 | 2 | 262 | 2017-05-24T14:33:20.073 | infrastructure | serverfault.com | |
93,162 | Transfer Deep Learning from one aerial imagery datset to many others | I am new to Deep Learning but have been able to use RasterVision successfully to predict building footprints within a set of aerial imagery . This aerial imagery data set is for a province of New Zealand. Now that I have a model that predicts successfully in this province, I am interested in how I could use this to pre... | I asked this question as I was unsure if it was possible for a Deep Learning model to generalise with good results across such diverse aerial imagery. I have since ran experiments with 20 plus national aerial imagery data sets training a model to extract buildings footprints from imagery. Using a resnet101 there was no... | 2 | 0 | 49 | 2021-04-17T01:19:58.063 | airflow_errors | datascience.stackexchange.com | |
121,488 | Two mysql db's load the same data at two different rates | Any idea why this might be happening? We have the same mysql (*.sql file) data being imported into two virtually identical mysql databases every day, but one consistently takes 30% longer to load than the other. We're using the RDS system on Amazon's AWS. We have a "staging" db and a "production" db. The staging db is ... | It looks like it must have been the zone (sub-region) that was the issue. The slow loading happened when the EC2 container with the *.sql file was in us-east-1a and the RDS instance was in us-east-1b. | 1 | 1 | 41 | 2015-11-18T15:12:49.767 | database_errors | dba.stackexchange.com | |
210,885 | Default values for crosstab results | I'm trying to write my first crosstab query in Postgres. Some of the results have no entries and so the rows that are returned have null entries. How do I set a default value for those entries? Here is a row that is returned: [CODE] Here is my crosstab query: [CODE] I've tried little things like this with no luck: [COD... | More importantly , if ... some of the results have no entries You need [CODE] - the variant with 2 input parameters instead of [CODE] you are using now to avoid incorrect results. Detailed explanation: PostgreSQL Crosstab Query So, assuming the respective values in the column [CODE] are 'some_column_name_1' and 'some_c... | 2 | 4 | 4,633 | 2018-06-28T17:54:27.757 | warehouse_errors | dba.stackexchange.com | |
426,801 | login with rsa to my vps | I successfully added a rsa key my root account. since I don't want everything in my root acc, I created a new user. but for some how, I keep getting "server refuses our keys" message :S I did following command with my root acc: [CODE] am I missing something? update: answering comments: I have successfully done modifyin... | Try copying your original public key normally (that generated by [CODE] ), and then convert it to an OpenSSH compatible format: [CODE] UPDATE [CODE] supports exporting your key to an OpenSSH format, try this: | 0 | 3 | 1,026 | 2012-09-12T15:44:00.007 | infrastructure | serverfault.com | |
1,007,786 | nginx + php-fpm extremely high amounts of data written to disk | We are facing a problem with extremely high data writes to disk and huge amounts of traffic over loopback interface. Environment: Debian 10.3 (4.19.0.8) - virtualized in hyper-v nginx/1.14.2 php-fpm 7.3 mariadb Ver 15.1 Distrib 10.3.22-MariaDB The machine is serving 5 php Laravel portals with some dynamic but mostly st... | Run the below command and try to set the value based on the result in www.conf [CODE] Calculate the values [CODE] | 0 | 0 | 941 | 2020-03-21T09:36:19.220 | database_errors | serverfault.com | |
634,768 | Active Directory SQL Server Random Handshake Timeouts | We've installed active directory on a new server and joined our database server and web servers to this new domain. However, randomly, we'll get the following error. What would be the cause of the handshake timeout error we're sometimes seeing? The fact that it's not ALWAYS happening to me means that the connection str... | This is most likely a timeout due to some network issue. What the cause of the network issue is impossible to state given the information. It could be anything in between the client and the SQL Server instance. Client or server resource issues, problematic IP settings, errors with a NIC, network congestion or latency, ... | 1 | 0 | 5,351 | 2014-10-09T14:39:48.840 | database_errors | serverfault.com | |
298,104 | Can I use a flag like -l from ls with find or locate? | Is there a way to display all the information that -l does in ls (permissions, dates, etc.) when using the locate or find commands? | Not just for "ls -l" but for whatever action you'd want to perform to your locate or find results you can use xargs or in the case of find the -exec flag. Here are examples to achieve what you want to do: In the case of locate you can use xargs: [CODE] Xargs can be used for find too, but find has the -exec flag that al... | 4 | 7 | 485 | 2011-08-05T15:39:27.840 | infrastructure | serverfault.com | |
138,443 | oracle rman connecting to a database in not mount state | When connected to oracle database through rman directly from the terminal, everything works fine, but when the same connection string is executed through a shell script rman connects to the database in a no mount state, not sure why, using oralce 11g, oracle Linux, and the connection string is : [CODE] | Kris Johnston said in a comment: nomount/mount/open are the states of the database... something can't connect to the db one way and connect as nomount, and connect to the same db a different way and connect as mount or open. It doesn't work like that. It sounds like you are connecting to a different database altogether... | 1 | 2 | 2,099 | 2016-05-13T10:13:04.110 | database_errors | dba.stackexchange.com | |
16,791 | Price prediction based on historic data | Im new to ML. I'm trying to predict if a new Music Album will exceed X amount of dollars in Sales. I'm looking to build a model to go only after potential best sellers. I do have historic data for Music Sales from 2010 till 2016. I have many signals: Music Genre Music Band/Artist name Label Year released Country of ori... | There are two broad classes of problems in machine learning, classification and regression. As in this answer , Regression involves estimating or predicting a response (the dependent variable is continuous). Classification is identifying group membership (the dependent variable is discrete). Your problem is a regressio... | 1 | 8 | 2,669 | 2017-02-06T23:24:56.353 | data_quality | datascience.stackexchange.com | |
1,332 | Is jQuery faster than CSS/Xpath selectors for IE 8.0 in Selenium1? | I am planning to run my existing Selenium 1.x tests in IE 8.0. After checking few blogs and reading this , I tried to run my tests using jQuery locators with the method mentioned here . My tests uses a lot of index based selectors, like in xpath= [CODE] . In jQuery I tried [CODE] to retrieve the elements. But I found j... | No jQuery will not be faster. IE has a very slow JavaScript engine compared to other modern browsers. Using jQuery selectors means you are using JavaScript to query the DOM, so you are instantly limited by IE's JavaScript engine. XPath support in IE is also via a JavaScript library (Google's wicked good xpath library),... | 12 | 3 | 2,682 | 2011-06-30T15:53:36.887 | database_errors | sqa.stackexchange.com | |
96,735 | I've failed at PHP several times. Is Ruby the Cure? | Extremely, extremely subjective question here, but its something I've been struggling with for quite a while. I've seriously tried to become a reasonable PHP coder for the past several years. But I've really failed every time. I hate to describe myself as a beginner, b/c I've been designing websites (using WordPress, D... | I recall feeling the same once. You can only go so far without being mentored. You can learn about OOP, and that would be a good start. What worked for me was to go work with some Sr Devs for a while as a Jr Dev. That is how real learning is done. Once you work with a good team and have guidance form an architect you w... | 5 | 8 | 1,167 | 2011-07-28T16:16:46.100 | api_errors | softwareengineering.stackexchange.com | |
82,940 | types of encoding in xml | How the encodings work? Which encodings can be used in XML? [CODE] XML encoding while using PHP I heard about [CODE] May i know what is the Difference between them? | I think you can use any ISO combination in your xml declaration but the ones you usually see is UTF-8 and iso-8859-1 (for europe). Usually UTF-8 is a good choice unless you have lot's of strange characters EDIT: I think you're confusing something like an XSLT transformation/parsing with XML instead of just the actual X... | -3 | 1 | 2,387 | 2011-06-10T06:40:12.023 | api_errors | softwareengineering.stackexchange.com | |
844,761 | WSGI : Truncated or oversized response headers received from daemon process | System Configuration : Apache2, Django 1.10, Python 3, Ubuntu 16.04 LTS Django [CODE] . /var/log/apache2/error.log [CODE] I do not know the cause of the error. But I have narrowed it down to the Django wsgi process. Since the server is hosting static files properly. While Cloudflare sometimes shows 502 : Bad Gateway Er... | The cause of the problem was numpy . Python C extension modules, like numpy, are known to cause timeouts when used under mod_wsgi. Source : Answer by Sean F on Timeout when reading response headers from daemon process A similar question which I didn't find on initial search answered and explained by author of [CODE] sa... | 19 | 17 | 28,479 | 2017-04-16T17:27:44.517 | api_errors | serverfault.com | |
929,507 | How to block outbound e-mails in Postfix for specific users within a domain? | How can I block outgoing mail for a specific user (user@example.com) in Postfix to all but a specific list of domains (e.g. @example.com, @dot1q.com)? I found a solution to block mail to a specific domain: Edit the main.cf file (the default location is in /etc/postfix ) and add [CODE] to the file. Create a file named /... | The correct syntax for the [CODE] file in you case should be (using regular expressions): [CODE] The first line tells [CODE] to discard mail sent with address [CODE] , the second line tess [CODE] to accept everything else. | 0 | 0 | 747 | 2018-09-05T07:20:27.903 | infrastructure | serverfault.com | |
166,188 | How to export a single schema from Oracle EE to Oracle XE? | I would like to export a schema (DDL or DDL+data) from Oracle EE (Enterprise Edition) to Oracle XE (Express Edition) for development purpose (in our case: for use as test databases for Java developers). The source schema contains some features, that are not available in Oracle XE, but none of them is required in develo... | There is no such one command to do this kind of migration of a schema because as you mentioned, Oracle Express edition doesn't support all the features that are used in the Enterprise edition. However, I tried to collect some of the useful parameters which can be used during [CODE] to modify or include/exclude (un)want... | 2 | 2 | 1,484 | 2017-03-04T11:01:23.527 | warehouse_errors | dba.stackexchange.com | |
328,142 | How is data read in Cassandra when some columns are not mandatory compared to RDBMS? | I am not sure how to put my question in a proper databse terminology. But here it is. My understanding of data reading in relational database: In relational databases, as all columns are present, so system knows how much bytes a row occupies on hard disk. So reading a row is like reading a chunk of memory bytes of ceta... | When the data is written to disk, they are stored in column name/value pairs so when they are read off the disk the client knows which column the value belongs to. Let me illustrate with an example. Here is a table that contains user details: [CODE] Let's assume the table contains the following data: [CODE] For the fir... | 2 | 1 | 110 | 2023-06-10T13:30:01.937 | database_errors | dba.stackexchange.com | |
526,314 | Implications and ability to use network drive for storing ShadowCopy data of local drive in Server 2003? | I have ShadowCopy running on a shared drive in SBS 2003 that is 90% full. Checking the space, 10GB of that is currently being used for shadowcopy: [CODE] I would like to have a lot more space for shadowcopy, so I know that I can move and increase the shadowcopy storage from drive D to E like so: [CODE] My questions: Is... | Shadow copies can't be placed on network drives, as they need to be available before Windows loads the network stack. Shadow copies are integral to the NTFS file system; if you have issues with your VSS target at boot-up, the server won't boot. It'll fail at the same point as when you get an "INACCESSIBLE_BOOT_DEVICE",... | 2 | 1 | 1,262 | 2013-07-25T18:06:59.817 | infrastructure | serverfault.com | |
612,720 | Windows Server 2012 R2 Powershell IP Interfaces Compartments | If I run [CODE] , I get one Interface back. There are only 2 Compartments I checked this via [CODE] . The Compartment IDs are 1 and 2. This information is also printed by [CODE] . But If I run Get-NetIPInterface -CompartmetId 2 I get this error: [CODE] or this [CODE] Why do I get this error? If the Interface is not in ... | You should be able to use something like this to find out what CompartmentId it is in: [CODE] Use that to check that it actually is in one of those compartments. | 3 | 1 | 921 | 2014-07-15T15:39:19.273 | infrastructure | serverfault.com | |
21,246 | Why are my queries getting really slow? | I own a WordPress installation, and Updated to 3.4.1. After the upgrade, I experienced a very strange slow-down. After all, I used the [CODE] in my wp-config.php with combined with the following code in my theme footer.php [CODE] and I found that while I don't have many queries (49 queries I got), there are 4 Queries t... | Take a look the queries in your question [CODE] Look at the execution time above each query 7.0095062E-5 is .000070095062 seconds 5.3167343E-5 is .000053167343 seconds 9.2029572E-5 is .000092029572 seconds The SQL queries themselves are fast. Please read any release notes on WordPress 3.4.1 to see if WordPress upgrade ... | 3 | 4 | 454 | 2012-07-20T15:45:19.407 | warehouse_errors | dba.stackexchange.com | |
179,628 | SSL connection errors from Apache | I'm running a (self-signed) SSL cert site on Apache/2.2.14 on Ubuntu 10.04, but various browsers are giving errors on half the connection attempts. Just now saw this transient error from Chrome: [CODE] Hit refresh and the problem goes away for a while. wget too: [CODE] Run it right away again and it works: [CODE] In my... | The issue you are having is that intermittently, the signature on the message recieved by the browser is wrong. This can happen for a very large number of reasons. For instance, you may be experiencing an openssl bug, a hardware failure (bad RAM or CPU), some kind of freak coincidence with your key (astronomically unli... | 8 | 2 | 8,356 | 2010-09-09T18:11:38.187 | api_errors | serverfault.com | |
1,020,442 | SAS/RAID controller non-ecc ram | I have Adaptec 51245 controller (I know it is old but I got it for free) that I use in my server. As far as I know it is highly recommended to use ECC RAM as system memory, but what about RAID controller? It has 512MB DDR2 RAM. Should I turn it off? I do not want any data corruption. | ECC is essential for (large) server memory. Whether you need it somewhere else depends on your environment and your requirements. Data sitting in memory for a long time is subject to corruption. DRAM bits can flip on their own with an extremely low probability - however, that probability can significantly grow in elect... | 3 | 0 | 414 | 2020-06-07T23:04:53.730 | data_quality | serverfault.com | |
451,516 | How many access points do I need? | My company has 6 floors and each floor is roughly around 5000 sq ft. I was wondering to cover the whole building with wireless connections. So how many access point do I need to setup to cover the whole building ? How many switches and what kind of hardware, software, and transmission media do I need ? And what kind of... | Most wireless AP providers won't support more than 50 clients per AP. That's 50 devices, not 50 users. Each user has on average 2.5 devices. A laptop, a smartphone (and a tablet). Quick and dirty estimate says that you'll need 20 access points. You'll need a site survey to figure out how the signal will actually cover.... | 0 | 3 | 6,771 | 2012-11-23T11:49:11.743 | api_errors | serverfault.com | |
1,054,005 | Backup Esxi virtual machines to external USB hard drive; no vCenter, no other servers. Is this sane? | Apologies if this is a duplicate, but there seems to be a number of options floating around. I'm running an Esxi server (v6.0) with about 4.5Tb of storage that I'd like to back up. I've a 6Tb USB drive with USB3. We're just running the free version so that might rule out some tools. I can't mount the drive directly to ... | William Lam has a shell script to back up running VMs. https://github.com/lamw/ghettoVCB Documentation is here: https://communities.vmware.com/t5/VI-VMware-ESX-3-5-Documents/ghettoVCB-sh-Free-alternative-for-backing-up-VM-s-for-ESX-i-3-5/ta-p/2773570 Change the VM_BACKUP_VOLUME value to the location of the USB. | 0 | 0 | 1,805 | 2021-02-17T16:51:47.547 | database_errors | serverfault.com | |
37,890 | Selenium's execution time increases if a web element is absent on a web page | I have a table on my web page I am trying to automation that contains x number of rows (tr)s and under each (tr), there are a varying number of (td)s. In my flow, I have to check for the existence of a particular value (text) inside of a (td) for which I am doing the following: I obtain the total number of rows in the ... | You have two alternatives: 1 - Decrease the timeout in this particular object: [CODE] 2 - Search directly for the links ( a tag): [CODE] Both alternatives assume that the table is well loaded. A check for this condition may be necessary: [CODE] | 2 | 1 | 462 | 2019-02-20T23:04:51.597 | data_quality | sqa.stackexchange.com | |
741,489 | Adding local folder and NFS share under same folder | I have repository server with a lot of files and data, that being used by a few nodes. Lately, I came across the issue of high load on the repository due to high volume of reads from nodes. What I wanted to do, is to have some recent data(sliding window), that being used most frequently, locally on the nodes, luckly I ... | You could use something like overlayfs: https://www.kernel.org/doc/Documentation/filesystems/overlayfs.txt There are similar SW packages like aufs or UnionFS. aufs is, afaik, outdated. I have no experience with these software packages and it seems like a ugly thing to do. I would try to solve the Problem with a read ca... | 1 | 2 | 1,108 | 2015-12-08T08:50:58.283 | infrastructure | serverfault.com | |
175,227 | Query turned into a CPU gobbling monster | I have a SP who's execution time went from 5 minutes > 20 minutes > 30 minutes > 53 minutes over four days Waits were showing increasing CPU and suspended status I isolated a single query that pegs the CPU [CODE] I ran it again, adding [CODE] at the end - no difference I ran [CODE] - no difference It would be interesti... | The first query is so slow because it will do a full table scan on [CODE] for every row in that table for which [CODE] . So if you have 100k rows in the table in the worst case you'll do 100k scans which means reading through 10 billion rows. If the table is small enough it'll stay in memory so your parallel query will... | 1 | 4 | 92 | 2017-06-02T01:57:08.140 | database_errors | dba.stackexchange.com | |
226,779 | Problem configuring php-fpm with nginx | First of all: I'm not an expert in configuring things. This is very new for me, so, my apologies in advance. At work we have a Centos server. The guy who worked here before installed nginx. We need to made a php site, so, obviously, I need to set up php and make it work with nginx. Making short a very long tale, I had ... | first of all check that php-fpm is listening on 9000 port: netstat -an | grep LISTEN | grep 9000 if it return something like: tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN then php-fpm works and you should check your nginx configuration. i.e. check if you defined right server_name. it should be the same as you enter it in yo... | 2 | 1 | 2,855 | 2011-01-25T18:36:57.277 | infrastructure | serverfault.com | |
165,960 | How to copyright and license individual code files | I have a habit of writing small, reusable components in my spare time. I reuse these components with my clients' code bases. It occurs to me there's a potential issue that using identical code for multiple clients may bite me back in the future. I don't care who uses the code. I just don't want a situation where one co... | First, read this: If I'm working at a company, do they have intellectual property rights to the stuff I do in my spare time? Now with that information in hand, realize that depending on the property rights contracts you sign with your clients, you may or may not be able to do what you elicit that you're doing. It depen... | 2 | 4 | 470 | 2012-09-24T04:12:20.773 | api_errors | softwareengineering.stackexchange.com | |
68,955 | SQL Server - Is it possible to forbid creation of default constraint name? | I was having a looking on this article about default constraints and I have a question. Is there a configuration in SQL Server 2008 that forbid naming creation of new default constraints declared without a proper custom name? In other words, can SQL Server block this: [CODE] but allow this: [CODE] | I think you could use a DDL trigger if you could build a reliable LIKE expression that determines that a column has been specified with a default but does not contain the word [CODE] before the word [CODE] . But that won't be very fun. If you don't have PBM you're probably better off just manually reviewing the DDL in ... | 1 | 4 | 129 | 2014-06-24T19:10:47.427 | database_errors | dba.stackexchange.com | |
1,141,261 | Creating/Configuring a DNS server with runtime configuration | I have a big Windows video/audio application that may be controlled remotely over a web server. For that, I can listen to a local port in a, say, 192.168.1.10 system to port 8000, forward the port via NAT and have a remote browser connect to http://public.ip:8000 . The problem is now that, to have some features availab... | Okay. If I've got this straight, you have a bunch of users, and each user can somehow trigger a stock browser in your "server" that then goes out to the user's system, looking to fetch web data from the user. And you need the user's machine to support an SSL connection with a valid certificate. I'll assume you've worke... | -3 | 1 | 113 | 2023-08-10T22:22:09.043 | infrastructure | serverfault.com | |
1,059,814 | Does Cassandra rebalance the data after inserting additional disks? | I'm running a Cassandra cluster with 5 nodes, each having 10 1Tb disks (JBOD). Currently, one of the nodes is in the problematic situation where a large compaction can no longer succesfully complete due to running out of disk space on a single disk. I am trying to figure out what the effect will be of adding additional... | Writing to new disks will happen for new data, and during compaction. Actual logic depends on the Cassandra version, like, newer version are putting specific partition ranges to specific disks. Usual recommendation is to use RAID-0 to have one big disk, so you don't have problem with big SSTables. But this method has o... | 0 | 0 | 551 | 2021-04-08T21:02:59.730 | hadoop_errors | serverfault.com | |
235,199 | Poor software raid10 read performance on Linux | I've recently set up new Linux based file server. The distribution I'm using is Ubuntu 10.10. I've created two software raid devices as follows: [CODE] Device /dev/md0 (raid1) is mounted on "/" and /dev/md1 (raid10) is mounted on "/home". Unfortunately the performance of my raid10 is deeply unsatisfying. Here is the pe... | 64K chunks — way too small. Almost every I/O op. has noticeable probability to involve 2 disks with such stripe size, which means more wasted I/O. My suggestion is at least 512 KiB and may be 1—2 MiB. Also, you might find that mine answer useful. | 3 | 2 | 2,862 | 2011-02-14T10:07:18.493 | infrastructure | serverfault.com | |
283,241 | Polymorphism on repository interface for local and remote operations | I'm in the process of designing a facade [CODE] class that would abstract some CRUD operations between a local database and a remote one (through a REST web app). Said [CODE] class depends on 2 other implementation classes (let's call them [CODE] and [CODE] , whose responsibilities are to interact with the local databa... | It's unclear from the question if remote repo doesn't support add/update operations at all or only for specific types. In case of the first option, I would go with 2 interfaces: IReadonlyRepo, IWritableRepo. In case of the second option, I would go with the exception approach. | 1 | 1 | 244 | 2015-05-07T16:32:46.147 | api_errors | softwareengineering.stackexchange.com | |
666,139 | znapzendzetup create fails indicating it can't find SRC filesystem being created | Why does znapzendzetup create fail indicating it can't find SRC filesystem being created [CODE] NOTE: This Question is copied from the github bug tracker since many people seem to confuse zfs fileset names with mount points. | You are mixing up datasets and mountpoints. ZnapZend deals with zfs datasets. [CODE] is a mountpoint you have to specify the zfs dataset, not the mountpoint. a dataset normally starts with the name of a pool and no slash: [CODE] | 1 | 1 | 329 | 2015-02-09T13:22:48.000 | infrastructure | serverfault.com | |
26,377 | Which one of these tasks will benefit the most from SPARK? | My company processes Data (I am only an intern). We primarily use Hadoop. We're starting to deploy spark in production. Currently we have have two jobs, we will choose just one to begin with spark. The tasks are: The first job does analysis of a large quantity of text to look for ERROR messages (grep). The second job d... | I think second job will benefit more from spark than the first one. The reason is machine learning and predictive models often run multiple iterations on data. As you have mentioned, spark is able to keep data in memory between two iterations while Hadoop MapReduce has to write and read data to file system. Here is a g... | 0 | 1 | 70 | 2018-01-07T12:31:32.830 | hadoop_errors | datascience.stackexchange.com | |
738,011 | ProFTPD. Can upload only in root directory, but it is failed when upload in subdirectories | I can retrieve files but cannot edit and upload. However, I can upload files and directories to root directory. Here I found a solution, but I have UIDs and GUIDs that match linux users. proftpd cannot upload (550 error) Here the site which helped me to setup ProFTPD https://kyup.com/tutorials/install-configure-proftpd... | Three problems I can see so far. In proftpd.conf, you have: [CODE] [CODE] These two lines you can safely remove. The [CODE] for virtual host: [CODE] The how to you are using, has configured valid shell ( [CODE] ) for ftp user, but your user (support) don't. | 0 | 0 | 378 | 2015-11-21T14:19:10.690 | infrastructure | serverfault.com | |
16,267 | Filtering AWS SQS Tags using JQ | I'm having doubts when trying to run a query with JQ. I have an SQS queue with Tags applied and when I run [CODE] returns the output: [CODE] So...I just filter using like this: [CODE] or [CODE] and other methods without success, always output: [CODE] Maybe I'm having a noobie hahaha, but someone can help me? | Take heart, I've been struggling with JMESPath query expressions for the past couple of years! It's been a long time getting used to them. In your example output, [CODE] is a JSON object rather than a list, so the [CODE] in your JMESPath expression is causing the error. Try this as your [CODE] command: [CODE] You'll ge... | 0 | 1 | 391 | 2022-07-13T14:47:03.013 | pipeline_ops | devops.stackexchange.com | |
573,706 | Partitioning & RAID recommendation for a server with 3 disks | I'm installing a server machine (intended to run Debian GNU/Linux) which, among other things, is to be used for backups of our code. Now, I don't need all of the contents of the HDD to be error-resilient - the server's root filesystem, the daemons' logs, etc - may become corrupt just fine. But if I put them on just one... | RAID 5 across the 3 disks would give you a total storage capacity of 2TB, and you'd have the ability to withstand the loss of 1 disk in the group. Be sure that you have another copy of your data, off-site. This setup will all the loss of a single disk, but a power surge or other accident could knock out multiple disks ... | 0 | 0 | 247 | 2014-02-06T16:44:47.117 | database_errors | serverfault.com | |
237,584 | SSISDB on AlwaysOn Group running package on Secondary Replica | I have sql server 2016 Enterprise Edition. I have created AlwaysOn Group. and added SSISDB. I do have couple SSIS packages running on primary replica with no errors. but when failing over to second replica, the jobs fails. Asking to create master Key or certificate. so my question is this: is there a way to automate th... | ... but when failing over to second replica, the jobs fails. Asking to create master Key or certificate. This is due to how security works with keys in SQL Server. There are various methods around this. is there a way to automate this and whenever FaillOver happen the jobs should be running as they are on Primary repli... | 0 | 1 | 140 | 2019-05-07T19:04:46.637 | database_errors | dba.stackexchange.com | |
1,069,779 | istio gateway, not loading the node application | I have tried to deploy a sample nginx app and it working. So, I replaced the same with another nodejs as this contains mutliple sub pages. So, I can test the routing. Here, with LoadBalancer default service type, the page is loading as below. But, with istio gateway, it is just showing an empty page. Please suggest how... | I've reproduced your issue and everything works fine after changing http match from "exact" to "prefix" in the virtualservice, here is the proof: | 1 | 0 | 428 | 2021-07-16T07:59:21.380 | pipeline_ops | serverfault.com | |
71,643 | Disable MongoDB journaling? | Are there any benefits in disabling mongodb journaling besides performance gain? I know journaling provides write durability and crash resiliency. But I can tune syncdelay parameter to make data files flush more frequently, but mongodb docs recommends against this. What effect would it have on my mongodb setup and why ... | Are there any benefits in disabling mongodb journaling besides performance gain? The only other marginal benefit is if you are using a 32-bit build (which is also not recommended for production use). Since 32-bit builds are limited to ~2Gb of addressable data for memory mapped files, the journal is off by default to al... | 0 | 1 | 1,679 | 2014-07-16T09:55:17.427 | database_errors | dba.stackexchange.com | |
238,473 | Which MySQL shows CPU usage? | I am monitoring MySQL server using phpMyAdmin [Status => Monitor] function. And it shows a number of useful graphs. Which variables (or which mechanism) is phpMyAdmin using to pull this data? ps. I was wondering if it is calling [CODE] query? But when I look through a bunch of variables resulting from [CODE] I cannot s... | Some guesses. Some things come from [CODE] (highlighted and with initial caps, below); some from elsewhere. Questions: Status [CODE] or [CODE] . The latter seems to include statements inside Stored routines. Connections: Not [CODE] since that continues to grow. Probably not [CODE] since that should be very small. Proce... | 0 | 0 | 10,699 | 2019-05-18T14:23:43.680 | pipeline_ops | dba.stackexchange.com | |
416,471 | Redesign json structure to reduce duplication of ids | I have json like below in our legacy system. In general, my json is very large. To make things simpler and easier to understand I have reduced the entries. [CODE] In [CODE] json array we have [CODE] and their keys/values. For single [CODE] , I can have multiple different keys and values. For example - [CODE] [CODE] has... | There are lots of ways to organize JSON. Here are two... 1. Array of clientId objects each containing an array of entries [CODE] 2. Object Keyed by clientId, containing object Keyed by your "key" property. [CODE] Which is better? It depends on your needs, and to some degree on the tools you use. The second form guarant... | 0 | 1 | 147 | 2020-10-01T21:39:08.777 | data_quality | softwareengineering.stackexchange.com | |
1,049,094 | Variables (locally defined) not defined when running bash script from cron on MacOS | I have following script for backups creation: [CODE] This script works absolutely fine when I am running it manually, no matter if this is from shell, bash or ZSH. This is how the log file looks like in that case: [CODE] However if I would run it through cronjob, Automator or even Apple Calendar the log file looks like... | Thanks a lot to bitinerant and Mark Wagner for their help. After I added the error output it turned out it was a mix between missing paths and lack of permissions to access directories and read list of databases from MySQL. Thanks a lot | 0 | 0 | 56 | 2021-01-08T16:13:15.393 | database_errors | serverfault.com | |
376,909 | Calling a method with different parameters and iterate | I have a method that inserts into the Android Calendar an event. You can see a simplified snippet in two steps: 1)declare the variables 2) I [CODE] them into a kind of array that in the end will [CODE] it into the calendar, and it works flawlessy: [CODE] Now my use case is that I need to insert the same event at differ... | The easiest way: let the calendar do recurrence for you Elaborating on Bart's answer, according to the API documentation you may insert a recurring event by providing a recurrence rule ( [CODE] ). This rule is expressed as a [CODE] which syntax and semantic is described in RFC 2445 section 4.3.10. You can find an inter... | 1 | 3 | 720 | 2018-08-15T09:25:18.397 | data_quality | softwareengineering.stackexchange.com | |
777,907 | How to add a CNAME record? | On PowerDNS on a Raspberry, I have recursor pointing to Google (8.8.8.8) and only one zone file and it contains: [CODE] Querying for [CODE] works, but [CODE] does not return a CNAME of [CODE] . What could be the cause of the error? The nslookup output is as follows (with annotations): [CODE] If I omit the period after ... | I removed and purged [CODE] , reinstalled, and it worked as expected. | 0 | 0 | 219 | 2016-05-20T01:17:03.357 | database_errors | serverfault.com | |
22,279 | 'Microsoft Exchange Server' reported error (0x8004011B) | Unknown error 0x8004011B appears after an Outlook Send and Receive operation. Exchange Server 2007, clients Outlook 2003 I looked at these with no luck so far. http://support.microsoft.com/kb/555049 http://support.microsoft.com/kb/922255 (editing registry, dismount and mount didn't help.) It has something to do with th... | I had the same error code pop up on only one station, i noticed on the net that it probably has something to do with the .oab files, so i erased all the .oab files from the "C:\Documents and Settings\USER ACCOUNT\Local Settings\Application Data\Microsoft\Outlook" folder and did a new send\recieve that reinstated them a... | 1 | 1 | 5,030 | 2009-06-09T00:28:35.933 | api_errors | serverfault.com | |
158,501 | Remove index fillfactor for Azure migration | I'm deploying a SQL Server database to Azure. I've tried to export to a [CODE] , but receive an error: fill factor set and is not supported when as part of a data package Using the script in this link I can locate where the fill factors indexes are. I face 2 issues: The index property page will not let me set the fill ... | Deploy to an Azure V12 server , which does support [CODE] , and use SSMS 2014 or later to perform the Deploy to Azure DB task. Using SSMS 2014 or later is necessary to generate the correct script, and to perform the right checks. To be clear: SSMS 2014 can be used to deploy a database from an earlier version of SQL Ser... | 2 | 2 | 1,038 | 2016-12-18T20:15:25.917 | database_errors | dba.stackexchange.com | |
121,443 | Update image using dynamic sql | I have been battling with this statement: [CODE] Basically, I have many DB tables with similar schema but different names (for types of transactions) and would like this ONE procedure to make the update given the table name as argument. This script compiles successfully but execution cannot update the image field. Is t... | I am not sure why the procedure uses [CODE] parameters instead of [CODE] , or why you aren't passing the parameter values to [CODE] directly. How about: [CODE] | 0 | 1 | 1,638 | 2015-11-18T09:42:26.237 | warehouse_errors | dba.stackexchange.com | |
206,839 | Host is missing hostname and/or domain | i use puppet 0.25.4 on ubuntu 10.04,when puppet installed ,i got the infor below : Nov 29 10:30:30 puppet puppetmasterd[4422]: Host is missing hostname and/or domain: pclient.example.com Nov 29 10:30:30 puppet puppetmasterd[4422]: Compiled catalog for pclient.example.com in 0.02 seconds [CODE] puppet.conf on server: [C... | Puppet get it's default domain from the domain declaration in /etc/resolv.conf. It takes it from the last domain declaration even if commented out. | 5 | 3 | 5,671 | 2010-11-29T02:35:47.247 | pipeline_ops | serverfault.com | |
389,057 | Functional Approaches to Serializing Objects to Variable-length Byte Array Output | I have a large number of record types derived from a binary format specification. So far, I've already written a computation expression builder that let’s me read structures from the files easily: [CODE] The nice thing about this approach is that I can easily convert the format specification tables stored on a spreadsh... | Pickler combinators are what you could call the functional approach to serialization. Here's a link to a seminal paper by Andrew J. Kennedy that describes them. There's a number of implementations of this idea in different functional languages, perhaps most relevant here would be FsPickler for F#. I'm not sure if it's ... | 2 | 1 | 270 | 2019-03-23T00:06:33.157 | database_errors | softwareengineering.stackexchange.com | |
1,052,402 | pymongo + flask + gunicorn: "Authentication failed" before first operation when "connect=False" | I'm using MongoDB Atlas. I'm have this URL for connecting: [CODE] . I'm using this stack: flask, gunicorn, pymongo, mongoengine (i don't think that it is related, because mongoengine actually uses pymongo). gunicorn config: sync workers, threads = 1, workers count = 8 When connecting, i'm using [CODE] because pymongo i... | Actually, the problem was with Mongoengine, not PyMongo. On Mongoengine GitHub I didn't find anything that is related to this issue. I tried many things with Mongoengine to fix this issue, but nothing has worked. The only solution was to refuse Mongoengine and use only PyMongo. I rewrote my project to use only PyMongo.... | 0 | 0 | 1,287 | 2021-02-04T15:06:43.060 | api_errors | serverfault.com | |
199,864 | Is it possible to develop a web application entirely in Javascript today (client and server) including a RESTful API exposing PostgreSQL data? | Where I work we have over a dozen internal SW systems that we have developed in-house using a variety of technologies, frameworks, and languages. Those include various from Microsoft (ASP.NET Web Forms, WebAPI, WinForms, SharePoint, Office Automation, Win8 Native Apps, SQL Server, SSRS) and others not from Microsoft (p... | Yes, you can is the short answer. You need Node.js for the server side. On top of that, you can build whatever you can imagine. That will cover your first 2 questions. You should check the expressjs framework. You can find PostgreSQL connectors for node.js such as this one (I haven't tried it). Have in mind that, as Da... | 5 | 3 | 4,350 | 2013-05-29T23:54:54.700 | database_errors | softwareengineering.stackexchange.com | |
645,192 | Postfix rejects an outgoing email with multiple destinations due to one invalid address | I'm sending my emails using Postfix, and I've got a considerable list of emails to send newsletters to. So I prefer to pack my SMTP requests into one by setting one of emails as [CODE] and a bunch more as [CODE] (in PHP). My problem is that if one of the emails is invalid, Postfix rejects the whole request prompting th... | TLDR: Your case is abnormal behavior mail client in proper SMTP transaction. Maybe something wrong in your PHP code. See this thread on postfix mailing list . A quote from Postfix author in that thread You are mistaken. You have no evidence whatsoever that Postfix rejects the entire message. It is known that SOME SMTP ... | 4 | 9 | 5,506 | 2014-11-18T12:03:02.720 | infrastructure | serverfault.com | |
671,918 | How can I resume a dd operation after a "error writing in file" status? | This command produced the error mentioned above after 9 h (preparing a 2 TB hdd for encryption): [CODE] I got at 50% (9 h) a total written GB count as well as a bs/count information. Is it possible to resume this process? | I think you need the [CODE] which should make [CODE] start writing at the block next to [CODE] of your disk address space. Supposedly you should also decrease [CODE] by that number of blocks as well. | -1 | 2 | 1,810 | 2015-02-27T15:45:09.360 | infrastructure | serverfault.com | |
202,379 | Why would a foreign key from a table to itself cause a deadlock when running two deletes? | I have a database with a table "SelfRef". SelfRef has two fields: [CODE] There is a foreign key constraint that maps the SelfRefId field back to the Id field. I have an EntityFrameworkCore project that references the database. I am running the following test: Create two entries in the SelfRef table. In each case, the S... | The deadlock XML indicates that the two sessions are fighting over two different rows, each session having an e(X)clusive lock on one and requesting a (S)hared lock on the other. Given: Deleting a PK requires that it first ensure that there are no existing FK references to it The Transaction Isolation Level is "Read Co... | 7 | 2 | 1,084 | 2018-03-20T18:08:40.103 | data_quality | dba.stackexchange.com | |
245,776 | Why can't SQL Server optimizer use foreign key | I have the following tables(See below for complete reproducible SQL): [CODE] I have the following query: [CODE] There is an index on ToBeTransferredTemp.type and unique index on CODES.idstring. There is a foreign key constraint on ToBeTransferredTemp.type -> codes.idstring You would think SQL Server would gather from t... | I can't reproduce your problem, which means there's likely something missing in your description (or I've missed something in your description!). If you want more detailed help with this issue, please suggest changes to this repro code that allow it to more closely match your situation. Here's an attempt and recreating... | 3 | 2 | 278 | 2019-08-20T11:55:46.850 | 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.