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 |
|---|---|---|---|---|---|---|---|---|---|---|
962,006 | Monitoring internal Kubernetes certificates | I am trying to find information about how to monitor internal Kubernetes certificates for expiry. I previously ran into an issue where the certificates expired and my services could no longer communicate, forcing me to rebuild the cluster. Now I'm trying to make sure that does not happen (I have a custom cluster), but ... | Based on the resources listed below, I'd say the best solution would be to update kops and its cluster to the recent version. It contains the new version of [CODE] , and its version >= 3.0.20200428 manages certificate lifecycle and will automatically request new certificates before expiration. Upgrade to kOps 1.15.3, 1... | 1 | 1 | 421 | 2019-04-08T11:03:51.767 | pipeline_ops | serverfault.com | |
409,066 | dreamhost | connecting mysql remotely over https | I am trying to Connect to a MySQL Database from Third-Party Programs as mentioned here: http://wiki.dreamhost.com/MySQL (see section: Connect to MySQL Database from Third-Party Programs) I have uploaded 'sqlbuddy' on another domain (hosted somewhere else) and in dreamhost panel Under the section titled 'Allowable Hosts... | SQLBuddy is a PHP web application. From your question I can see that you are using DreamHost for web hosting and I am going to assume that you are using them to host SQLBuddy. From the DreamHost compare our products web page , the use of SSL requires a dedicated IP address which is optional. Have you have a dedicated I... | 0 | 1 | 1,471 | 2012-07-19T02:15:20.057 | database_errors | serverfault.com | |
677,789 | Passing Linux NFS traffic through Windows Server 2008 | We are developing an embedded device that runs on Linux and uses NFS mounts to aid in development. We are working in two private network spaces ( [CODE] and [CODE] ). The [CODE] network contains [CODE] multicast traffic that the device needs, but in order not to swamp the [CODE] network the network traffic is generated... | @tigran - thank you for the help. You raised some very important points. The problem here was actually port numbers. In the first scenario: [CODE] The device was requesting: [CODE] However, in the second scenario: [CODE] The Windows Server was changing the port number: [CODE] According to Man Help Pages for the export ... | 1 | 1 | 542 | 2015-03-24T08:32:02.703 | infrastructure | serverfault.com | |
1,105,221 | OpenVPN session ID for --client-connect and --client-disconnect (unpredictable execution order) | I have an issue where: Client A connects (--client-connect) Client A connects again for some reason, maybe it crashed, maybe something else unexpected happened, who knows (--client-connect) Client A original connection times out (--client-disconnect) My script then notifies that a client disconnected, when in reality, ... | I found a solution to this. When a client disconnects, the date in the ENV variable is actually of the time the connection started, not when it disconnected. It is up to you to calculate the disconnect time by adding the duration seconds. I ended up with code like this to find the connection and fill in the missing det... | 0 | 0 | 239 | 2022-07-10T14:08:16.440 | infrastructure | serverfault.com | |
453,968 | Postgrey not greylisting incoming emails | I migrated my server to a new provider and have postfix & everything else back up and running, but am not getting incoming mails greylisted anymore when I have postgrey running. I was on CentOS 5.7 previously and now on Ubuntu 12.04 LTS postgrey is running [CODE] And is listening on port 10023 [CODE] And here is the [C... | Going to answer my own question, as I figured out the issue...I was expecting test emails I was sending from gmail, yahoo, hotmail, etc. to be initially greylisted on this new machine, but they weren't because I am using the [CODE] whitelist (via [CODE] ), and those IPs likely appear on that whitelist. I went back to c... | 1 | 2 | 1,391 | 2012-11-30T18:05:57.783 | infrastructure | serverfault.com | |
931,430 | Have a system that expires SSH keys every 90th day | I have a customer that now requires us to change every password every 90th day due to their interpretation of GDPR. That's fine for the web-based system we develop for them because we can just implement those rules. But they also require us to change the passwords on our SSH keys used to access the servers, which is, w... | The customer is wrong here and does not understand what they're talking about. Changing the passphrase on a private key is a very bad idea, because it has very counter-intuitive security properties. Normally, users think of passwords that they have changed as "no longer secret". They might become throwaway passwords fo... | 28 | 37 | 11,673 | 2018-09-18T07:45:43.377 | pipeline_ops | serverfault.com | |
223,762 | Bloom filters or similar, but with no false positive | To improve some lookups, I am considering the use of Bloom Filters. But in my use-case, the most probable outcome is that the element do exists in the target set. Bloom filters can have false positive, but no false negatives. That would make me check the real (big and slow) storage most of the time because of the uncer... | The nice thing about bloom filters is that their space requirement can be scaled arbitrarily, with the cost of more false positives as the size is decreased. If you want no false positives whatsoever, you can't take probabilistic shortcuts and will not be able to reduce space requirements significantly (which isn't tha... | 7 | 5 | 1,451 | 2014-01-10T14:35:51.147 | api_errors | softwareengineering.stackexchange.com | |
84,793 | SelectFromModel vs RFE - huge difference in model performance | Note: I have already looked at Difference between RFE and SelectFromModel in Scikit-Learn post and my query is differnt from that post Expectation : [CODE] and [CODE] have similar/comparable performance in the model built using their recommendations. Doubt : Is there any known use-case where RFE will fare better? As a ... | To start with, let me repeat here what I have already answered to another OP wondering if Recursive feature selection may not yield higher performance? : There is simply no guarantee that any kind of feature selection (backward, forward, recursive - you name it) will actually lead to better performance in general. None... | 3 | 3 | 1,167 | 2020-11-01T14:26:12.840 | data_quality | datascience.stackexchange.com | |
544,434 | NAT Overloading not working, access-list not catching ips? | I have a GNS3 lab set up and I am trying to get NAT overloading working with a dynamic pool. Please see diagram The issue I am having is traffic is being routed correctly from PC1 to the ISP1 or ISP2. However the translation I believe is not working because I see this on the ISP routers. [CODE] Here is my config from E... | Extended ACL may work, but without "log" keyword: Q. Does Cisco IOS NAT support ACLs with a "log" keyword? A. When you configure Cisco IOS NAT for dynamic NAT translation, an ACL is used to identify packets that can be translated. The current NAT architecture does not support ACLs with a "log" keyword. More: Network Ad... | 0 | 1 | 1,767 | 2013-10-07T20:29:49.367 | infrastructure | serverfault.com | |
920,771 | nginx proxy_pass with flexable subpath possible? | currently I have this as my [CODE] which works fine [CODE] the above works fine but I figured if I want another proxy such as [CODE] then I have to make another [CODE] is it possible to do something like this? [CODE] where [CODE] means if I pass in any url into [CODE] then the [CODE] would be [CODE] I tried to google s... | Use nginx [CODE] and [CODE] directives, something like this should be fine: [CODE] don't forget to test it first. | 1 | 4 | 2,835 | 2018-07-13T07:12:07.877 | infrastructure | serverfault.com | |
782,781 | Two different SSL Sites with same name possible in Apache? | I just upgraded from debian 7 to debian 8 (apache 2.4) box called debian.domain.com I have Request Tracker, a helpdesk software, and i want to run it from https://helpdesk.domain.com (i have a valid SSL certificate for it) The proper dns to resolve helpdesk.domain.com to debian.domain.com is already setup and works fin... | Please post your full configuration. The configuration for http is missing. If i had to guess, you have to to the following: Change the [CODE] entries to the following: ServerName helpdesk.domain.com Ensure that your configuration for [CODE] is not the first read by Apache. If they are in different files, Apache will r... | 1 | 0 | 136 | 2016-06-08T19:37:38.133 | api_errors | serverfault.com | |
361,841 | Port 22 is closed even with Firewall turned off | I'm trying to open port 22 on my local machine (Windows 7 32 bit). I'm using a web tool to check if my port is open. It says that port 22 is closed. So I disabled firewall to see if it causes port to be blocked. Even with firewall disabled port 22 is still closed. I'm connecting straight to my cable without a wireless ... | You need an application listening on port 22 in addition to the firewall rule in order for this to work. Port 22 is generally used for an SSH server. Do you have one of these running on your Win 7 box? Running [CODE] will verify whether or not anything is listening. If you don't have anything listening on that port, se... | 0 | 13 | 93,618 | 2012-02-20T13:46:57.173 | infrastructure | serverfault.com | |
1,123,742 | xpenoboot dsm 5.2-5644 - updated to dsm 7.0 would like to recover data | I managed to click on update system as dsm recommended (i only seen the server online and didn't know its not factory synology nas, and never worked with synology NAS before, my bad, anyway) it is a xpenoboot dsm 5.2-5644, with a wild config one hdd in raid with an ssd (neither the same manufacturer, nor the same size,... | It was actually pretty easy: maybe it will help others 1; forget the new hdd, put the original 2 back in, 2; start xpenoboot in install mode, 3; use synology assistant, it will say its migratable, click double 4; make a clean install, (the data part will remain, only the config and third party addons will be lost 5; ch... | 0 | 0 | 515 | 2023-02-25T11:34:11.930 | data_quality | serverfault.com | |
420,526 | Auto-storing server host key in cache with plink | I've been trying to issue commands using plink to retrieve information from my external server. Note that these plink commands are run from a binary that expects no input from the user. Is there a flag that will allow me to override this error message and continue with program output? [CODE] Thank you! | Try prepending your script with: [CODE] This will pipe the [CODE] character through [CODE] to [CODE] when you get the Store key in cache? (y/n) prompt, allowing all further [CODE] commands to pass through without the need of user input. The [CODE] command will close the SSH session after it has been established, allowi... | 39 | 37 | 87,609 | 2012-08-23T18:28:53.700 | infrastructure | serverfault.com | |
217,672 | PostgreSQL how to speed up ORDER BY with text column | Table schema: [CODE] The "fsa_online" table contains about 800 000 records (possible grow up to 3 million records) The "fsa_online_data" table contains about 3.5 million records (possible grow up to 15-25 million records) I have the following query: [CODE] It took about 150 ms time. But when I need to sort data, for ex... | The CASE in a join condition is killing you. You should probably reorg your data so that use_version always contains the version to be used. If you can't do that, then create an expression index on the CASE expression: [CODE] | 1 | 4 | 737 | 2018-09-15T00:16:07.060 | database_errors | dba.stackexchange.com | |
259,502 | Can't access phpMyAdmin because of host, username and password | everyone. When I try to access phpMyAdmin on Uniform Server I get the following error messages: [CODE] phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information giv... | Can you log in on the command prompt? (for instance: [CODE] or even just [CODE] ) Just to make sure you're aware, the root password for the mysql service and the root password for the device are going to be different. My hunch is that there's no password set on the [CODE] MySQL account. If one of the command line login... | 0 | 5 | 155,528 | 2011-04-14T04:46:05.730 | database_errors | serverfault.com | |
987,917 | user login from another domain (Transitive Trust Established) | I have setup a two way transitive forest trust between two domains (Domain A & Domain B) successfully. Now when I try to RDP as a user in domain A (admin@domainA.com) into domain B it is connecting but displaying an error message stating "the connection was denied because the author is not authorized to perform remote ... | Ok I've found a way to overcome this. First the reason why the other domain didn't get listed is because I was trying to add the user in the "Domain Admins" group whose scope was set as "Global". So in order to make the other domain user login, we have to add the user in the built-in groups (eg: Administrators, Remote ... | 0 | 0 | 3,551 | 2019-10-14T12:16:02.540 | infrastructure | serverfault.com | |
187,072 | What is a good script or free/trial tool to inventory/replicate all settings in master db? | Context: CU10 failed, reporting a corrupt master db when applied to SQL Server 2012 SP3 CU5. We built an empty new master on that server and will restore the backup of the CU5 master into a new CU5 instance on a different server. Now we need to replicate all settings from the restored CU5 master into the newly built CU... | Fastest way... 1. Connect to instance with CU5 master 2. Right-click master database> tasks> Generate Scripts 3. Wizard is launched for scripting database objects. To get server principals: How to transfer logins and passwords between instances of SQL Server Or, Powershell! Automated Script-generation with Powershell a... | 1 | 0 | 43 | 2017-09-27T16:29:52.637 | database_errors | dba.stackexchange.com | |
740,548 | Wisdom of switching from Windows to redundant linux boxes for DHCP servers? | We've had a few issues with our Windows DHCP server failing. I'm a linux guy by nature, but not a systems guy (I'm a programmer who happens to be running IT for ~800 users), but I'm curious: how crazy would it be to just set up a couple of linux boxes to be redundant DHCP servers, either with a split scope or with some... | Those days DNS and DHCP are really tightly linked to Active Directory. That beeing said there are people who really do this in production. You don't need anything particular for setting a DHCP box on linux: any box can do the trick. | 7 | 6 | 1,509 | 2015-12-03T14:43:18.347 | database_errors | serverfault.com | |
138,355 | Stable triangle relationship? | I have a table that represents a specific type of action. Let's call it [CODE] . An action can be performed by a user ( [CODE] ), so I have the relation [CODE] . The user can have children ( [CODE] ), so [CODE] . The problem starts by the fact the action must be performed by the user, however it can be performed for th... | I see 2 options to implement this. The first would be what you already have, with a minor adjustment, to enforce this part: What I'm seeking is a solution where an action (investment) cannot be made for a child the user has no relationship to. In other words, the father/mother can only invest for him/her or his/her chi... | 5 | 5 | 1,719 | 2016-05-12T14:14:22.837 | database_errors | dba.stackexchange.com | |
303,593 | SSIS package error based on database collation | I have this old SSIS package I was using to load utf8-encoded csv files into a database. A very small percentage of the data had unicode characters, and people didn't particularly care if we dropped a few values to get the greater bulk into a SQL_Latin1_General_CP1_CI_AI collation table. My SSIS package loaded the csv ... | After more experimentation, I found that while I was allowed to edit the SSIS OLE DB Destination component and change the code page, it wouldn't stick. i.e. I could click Save after the changes, open the editor again, and none of my edits had been saved. Searching instead for getting edits to stick, I stumbled across t... | 1 | 1 | 4,312 | 2021-12-06T23:08:41.523 | api_errors | dba.stackexchange.com | |
267,644 | Printing a '$' (dollar sign) to a file | I want to [CODE] / [CODE] a dollar sign into a file - but [CODE] or such does not work (not surprising). I tried escaping it like [CODE] but it is also not working. What is the correct way to perform it? I'm working with TCSH on SunOs. | You can use printf and single quotes to avoid variable expansion: [CODE] | 2 | 3 | 7,334 | 2011-05-09T08:46:54.267 | infrastructure | serverfault.com | |
34,995 | Windows disk imaging for backup with auto scheduling | I am after a way to automatically schedule a disk image backup of Windows Vistas x64 systems. Required features Ability to run on nightly schedule with no user involvement (so this takes out things like CloneZilla I think) Easy way to restore using LiveCD or similar Nice to haves Open source / free, even for commercial... | I'm currently using a combination of Bacula and Clonezilla. Bacula for day-to-day backup and restoration of files as needed, Clonezilla for full disk (or partitions of the disk) imaging. As with any backup solution, your backups are only good when you can actually use them to restore - I haven't found a good way to res... | 4 | 3 | 3,351 | 2009-07-02T13:17:35.343 | database_errors | serverfault.com | |
1,126,203 | How to enable Kerberos delegation from SQL Server to DFS File Share | I am trying to enable my MSSQL database users to BULK INSERT / OPENROWSET() a CSV file that is stored on our DFS/cifs/smb network shares. Initial Setup I have the MSSQL service set to run as a domain user account, [CODE] , and have added that user to a security group that has read access to the relevant DFS share (eg. ... | So, it turns out that during our initial troubleshooting we enabled kerberos delegation for the [CODE] computer account in AD. This apparently caused the system to go down a different path looking for RBCD, which we are not doing. Bottom line, resetting the machine account to no delegation and adding constrained delega... | 2 | 1 | 1,077 | 2023-03-14T21:47:55.243 | database_errors | serverfault.com | |
335,068 | Should "Set" have a Get method? | Let's have this C# class (it would be almost the same in Java) [CODE] As you can see, equality of two instances of [CODE] depends on [CODE] only. So there can be two instances that are equal, but holding different piece of information in their [CODE] property. In a standard collection library of many languages (includi... | The problem here isn't that [CODE] lacks a [CODE] method, it's that your code makes no sense from the perspective of the [CODE] type. That [CODE] method is effectively, "get me this value , please", to which the .NET framework folk would sensibly reply, "eh? You already have that value [CODE] ". If you want to store it... | 22 | 66 | 14,789 | 2016-11-01T07:58:10.100 | api_errors | softwareengineering.stackexchange.com | |
85,582 | best connection suggestions or best practices for multi site data pull, expert advice needed | i will be having a NAS box that will be receiving data from 20 sites in 20 cities. the computers will be sending about 500MB a night from each site. What are the requirements for equipment hardware that is needed to achieve this? thanks gd | Some allowances for failures both on the sending and receiving side should be considered and the assumption should be that the transfer will be running 24x7. One missed "night" and the data has doubled for the next night, a missed weekend and there is 30GB + 10GB for Monday night. It's easy to get behind and have a lot... | 0 | 0 | 75 | 2009-11-17T16:49:08.757 | api_errors | serverfault.com | |
34,611 | How do I debug an ETL process that is unable to commit any records? | I used a DB link to connect to another DB and delete a couple of records. Later I ran an Informatica Workflow (ETL tool) to load data into that database using a DB connection that connects directly to it. The Workflow hasn't committed any records since 2hrs (it should run just for 30mins or so..) so I am guessing it is... | Since you're using a standard Oracle-to-Oracle database link, Oracle automatically does two-phase commits. If you commit (or rollback) on one system, any changes made as part of the same transaction on the other system will committed (or rolled back) as well. If there is an open transaction on the remote system that ha... | 0 | 1 | 1,018 | 2013-02-12T17:51:09.810 | data_quality | dba.stackexchange.com | |
653,059 | postfix - hock - extracting information out of processed emails | The setup Linux, Debian Wheezy, serves as mail server for about 1000 users. Courier and Postfix installed in this box. Info about the server It is a postfix setup which drops the emails to the mailboxes under [CODE] - this part is working. What I plan to do: I would like to implement that when an email gets sent via th... | Instead of overriding [CODE] with your hookpickup , you can setup [CODE] . [CODE] In this mode, just email send out to extract@localhost will be delivered to hookpickup | 0 | 1 | 623 | 2014-12-16T22:27:24.543 | infrastructure | serverfault.com | |
276,571 | Simple query performance on 300M row table is very slow even with beefy hardware | Hardware/PostgreSQL version: AWS RDS db.r4.xlarge (4vCPU, 30.5GB RAM, Provisioned IOPS (SSD) storage, 2500 IOPS) PostgreSQL version 11. Background: I have an ever-growing table that I feel isn't anywhere near as performant as it should be. With around 300M rows and growing by ~4M a month, the table looks as follows: [C... | You have a sequential scan where 19 out of 20 rows are discarded by the filter. Clearly you are missing a simple index: [CODE] Oh, you already have that index, and it is used to the advantage of execution time if you disable sequential scans! Then the reason why PostgreSQL chooses to avoid the index scan must be that [... | 2 | 2 | 583 | 2020-10-06T02:13:40.593 | api_errors | dba.stackexchange.com | |
228,362 | This installation of MySQL is already upgraded to 5.7.25? | I used sudo apt upgrade and got this: [CODE] So I did it and I see this for more than an hour. [CODE] Nothing happens. I have not used MySQL for a long time and don't know what should I do. Understand there must be something with force but I am new with Ubuntu and not so familiar with commands. Can you help me? I don't... | Actually here is a solution that worked for me: https://techierg.blogspot.com/2019/06/ubuntu-1804-mysql-this-installation-of.html Quote: Briefly, the solution is Edit the file [CODE] [CODE] At line # 370, comment out the echo ALTER statement which would like [CODE] Restart the VM, then... Run dpkg configure again and t... | 6 | 5 | 4,971 | 2019-01-29T14:49:39.340 | database_errors | dba.stackexchange.com | |
306,702 | php go-pear.phar on Debian Testing does nothing | I have a fairly fresh Debian Testing install, and I am trying to install PEAR / PECL but when I run the command nothing happens. I don't want to install the PEAR package in the Debian repositories because in my experience it is too old. I have installed php5-dev. Here is what I tried: [CODE] I also tried [CODE] . [CODE... | This is what worked for me. Tested on a Debian Squeeze amd64 installation: [CODE] | 1 | 2 | 1,271 | 2011-08-31T06:53:13.907 | infrastructure | serverfault.com | |
1,010,750 | High CPU Load and High I/O wait time : Mysql process | i am fairly new to the role and the technology. we have a Network server that receives the telemetry data from sensors and temeletry data is stored in MYSQL dabatase. we have a front end portal which we use for device management and queries the database. For for the past few weeks our EC2 instance is experiencing High ... | Your database is doing a lot of table scans. You will need to identify what queries are being slow and index them and/or rewrite them to be more efficient. Start by enabling the slow query log: log_slow_queries=1 long_query_time=0 and put the slow log through mysqldumpslow or pt-query-digest. That will tell you what th... | 3 | 2 | 2,041 | 2020-04-03T13:29:26.447 | airflow_errors | serverfault.com | |
123,059 | VSS Post Backup failures for Virtual Server 2005 R2 SP1 virtual machines | We've been seeing strange errors with Volume Shadow Copy services on our Virtual Server 2005 R2 SP1 host. It appears to be failing on a strange mountpoint in the C:\WINDOWS\Temp\ folders, which I believe is used by VSS to mount a writeable image file. To summarize: The Microsoft Virtual Server 2005 Writer continually g... | Using the VSSDSK's vshadow tool, we discovered that the components of a VSS backup of Virtual Server 2005 R2 SP1 were on separate volumes. As a result the backup would fail since it was locking only one of the two required volumes. We excluded the writer for Virtual Server 2005 R2 SP1 in our backup software, and enable... | 0 | 0 | 748 | 2010-03-16T17:09:09.423 | database_errors | serverfault.com | |
380,124 | Get the correct remoteAddress through a proxied apache request | I have this configuration in my Apache virtualhost : [CODE] But on Play Framework, asking for the client IP (request.remoteAddress) results in a [CODE] . I'm sure it's because of the proxy, but I don't know which parameter to set to make this works. Thanks for your help ! | When using a proxy server, you need to look at the X-Forwarded-For header instead of the remote address (source IP). | 0 | 2 | 1,124 | 2012-04-17T07:40:01.447 | infrastructure | serverfault.com | |
278,374 | Designing entities that should be mutable through the GUI but protected from programmer error | I have a set of entities, for now represented by very simple classes (further simplified for this example): [CODE] There is going to be a repository class for accessing, adding and persisting DayAccount entities, but that's pretty much it. The end user should be able to modify some properties of these entities through ... | I would recommend mapping your DTOs to a domain object and make that domain object immutable Just give it private setters and create it through a factory, instead of passing around the DTO all over. Making it immutable is definitely not a bad idea if you think it should be immutable, documenting still has a risk that a... | 2 | 4 | 1,104 | 2015-04-06T13:44:52.347 | data_quality | softwareengineering.stackexchange.com | |
1,031,288 | Failing ZFS Raid-Z2, need to build new pool but lack a SAS port. Can I disconnect one drive from Raid-Z2? | I have a Raid-Z2 pool with 6 * 4TB drives. All the drives have a bit over 40 000 hours running time. Now they all seem to be degrading at the same time. The pool is degraded, and all drives are marked as degraded with to many errors. But luckily no lost data at the moment. [CODE] I would like to build a new pool with R... | If your pool is already failing, degrading it further is a really bad idea. If all of your disks are erroring out together, you most likely have a failing controller or a failing PSU, rather than failing disks. You would do well to invest in an additional controller to hang your replacement disks off of as a first step... | 3 | 1 | 236 | 2020-08-24T15:52:08.937 | infrastructure | serverfault.com | |
406,137 | Experiencing Delayed Updating of Front-end Code Using Google mod_pagespeed on Centos 5.X VPS | I am using Google's mod_page speed with Apache on Centos 5.X VPS (I'm not 100% sure on the exact Centos version, but I know it's in the 5 series.) I am hosting numerous WordPress websites with W3 Total Cache, all of which have the latest version of WordPress and W3TC installed. Now, here's my issue. When editing any so... | Looks like you need to clear mod_pagespeed cache. Please see mod_pagespeed FAQ: How do I clear the cache on my server? We have also heard of issues related to running both mod_pagespeed and other caching systems (especially W3TC), but it doesn't sound like that is your problem. mod_pagespeed should work fine on a VPS. | 1 | 2 | 291 | 2012-07-09T18:20:48.503 | infrastructure | serverfault.com | |
981,924 | Single drive performance in RAID1 | I see many tools to measure the performance of RAID1. But how to measure the performance for each SSD in RAID1? | Short answer: You probably can't. Long answer: If this is an actual volume behind a hardware RAID controller, you can't unless the RAID controller explicitly supports it. I've never seen a RAID controller that has benchmarking tools, but I guess it's not impossible . You can't use third party tools because the drives a... | 0 | 3 | 63 | 2019-09-04T20:46:03.913 | infrastructure | serverfault.com | |
957,813 | AWS ELB - downstream connections higher than workers count | This might be something I fundamentally don't understand about AWS application elastic load balancer set up. It's very simple. The load balancer is a public front end, forwarding all traffic to a single target group. There are N containers in a target group. Each container running some number of workers, say X. Per Ama... | So my basic understanding is, that ELB is opening the connection from the front end application while there are no backend connections available. If that is correct, what you're missing is this: ELB is supposed to open as many connections as the requests. Its the basic concept of ELB to load balance your requests to as... | 2 | 0 | 298 | 2019-03-11T20:46:08.440 | pipeline_ops | serverfault.com | |
419,549 | exim bounce address tag validation | I ma trying to set up BATV in exim but i am always getting an error: [CODE] Corresponding ACL: [CODE] Exim version 4.72 OS: CentOS 6.3 Really don't know what to do. | Here correct version: [CODE] | 0 | 0 | 846 | 2012-08-21T08:46:46.697 | data_quality | serverfault.com | |
318,878 | How to use foreign key, to remove subentries? | I try to delete all the subcategories and entries within this subentries, when i delete the main categorie from within one table. If i had multiple tables, i would use a foreign key with ON DELETE CASCADE. But this seems not to work, when i use only a single table. I have the following example table: [CODE] ID is not a... | For sqllite you need to enable foreign keys as: [CODE] In general you need to reference something that is unique in the parent table, i.e.: [CODE] If you instead use [CODE] The only difference is that you get control of the name of the constraint. If you need to alter the constraint in any way, you know how to referenc... | 0 | 1 | 320 | 2022-10-28T07:16:38.737 | warehouse_errors | dba.stackexchange.com | |
208,770 | Could I GPL this code? | I'm working on reviving a C++ codebase that hasn't been touched since '97. It's academic software for text analysis, and originally it was non-functional, it wouldn't even compile. I fixed the code so that it works, and added some new functionality of my own. I'm doing this privately for someone else, and they will pay... | IANAL! The License of the code is incompatible with the provisions of the GPL, so you cannot put the GPL on it. Or rather you can put the GPL on your code but users would still be bound by the stricter provisions of the original License, making the legal situation a real mess. The only option if you want to relicense t... | 3 | 11 | 430 | 2013-08-19T09:19:21.050 | database_errors | softwareengineering.stackexchange.com | |
11,023 | Mysql master-master permission replication issue | I came to know it's safe to replicate [CODE] database to have the users and permissions replicated, from a post in ServerFault is-it-ok-to-replicate-mysql-db . I have setup [CODE] replication with a slave for each master(totally 4 nodes). Everything is working, databases, tables are synced but NOT permissions, permissi... | Your grants are not replicating because you have an (unnecessary) replication filter on INFORMATION_SCHEMA. There is no reason to exclude this, as it is not replicated anyhow. When replication filters are in place, you have to USE a database or your statements are not replicated. For example...not replicated [CODE] Thi... | 1 | 3 | 2,143 | 2012-01-20T03:10:04.063 | database_errors | dba.stackexchange.com | |
59,148 | Route/IPtables Question | I have the following setup - Verizon Fios Router - WAN - Public IP Address Verizon Fios Router - LAN - 192.168.1.1 This connects directly to an internal Linux Router - Internal Router Linux - eth0 - 192.168.1.2 Internal Router Linux - eth1 - 10.10.10.1 The problem I am having is if a request originates from the 10.10.1... | Regarding the routing issue, because your internal network uses non-routable IP addrsses (private), then your linux router must "masquerade" them when they go out through the external IP address (which is also non-routable, but your Linux router need not know that - the Cisco can handle that part). Something simple lik... | 0 | 1 | 782 | 2009-08-26T17:27:39.090 | infrastructure | serverfault.com | |
477,547 | Connecting to passive FTP over SSL (ftps) | I have setup an FTP service in Windows Azure using this guide http://www.itq.nl/blogs/post/Walkthrough-Hosting-FTP-on-IIS-75-in-Windows-Azure-VM.aspx The FTP Server works well when I connect without SSL when sitting at work behind my office firewall. BUT when I try to connect with SSL (port 21, AUTH TLS - Explicit , Cu... | Ah, that makes more sense. The problem here is the two-channel nature of FTP, plus encryption, plus (most likely) an adaptive firewall en route . What happens when an FTP control connection requests some data (which includes a directory listing) is that a new connection is built; from server to client in ACTIVE mode (w... | 1 | 5 | 5,782 | 2013-02-11T09:15:14.997 | api_errors | serverfault.com | |
360,061 | Ubuntu Server Permission Problems | Our sysadmin quit and I have been handed "the ropes." Unfortunately, I don't know how to climb very well. Here is my problem. We have 4 servers that we use for our hosting of client's sites. Anyway. I'm trying to upload a file to this certain client's directory via sftp. Getting permission denied. I have sudo access to... | First of all, don't try uploading straight into a web folder. I would recommend uploading to your home folder, doing the necessary permission changes THEN copying(NOT moving) the files to that destination(will probably require sudo). That should do it. | 1 | 1 | 357 | 2012-02-14T16:53:45.750 | infrastructure | serverfault.com | |
65,245 | Creating index on computed field: string or binary data would be truncated | I have a table [CODE] with the following fields: [CODE] Now I want to create an index on LongValue, so that I can easily look up on serialized values that represent numbers. [CODE] Which spits out the following error at me: String or binary data would be truncated. Yes, there is existing data in SerializedValue. But wh... | The error isn't caused by creating the index. The error is caused by [CODE] when the computed column values are evaluated at index creation. If I run this: [CODE] I get the same error. The documentation says (emphasis mine): If the cast succeeds, TRY_CAST returns the value as the specified data_type; if an error occurs... | 8 | 8 | 3,038 | 2014-05-16T15:06:17.107 | warehouse_errors | dba.stackexchange.com | |
1,140,329 | VLANs with ESXi over physical switch | I'm trying to setup a VLAN across my ESXi network and my physical switch network, but fail to get the VMs on the ESXi port group communicate with physical network. Specifically, my VM doesn't see responses from physical network. The setup: VLAN 112 on the ESXi port group VLAN 112 on the switch attached to a firewall in... | VLAN 112 on the switch attached to a firewall interface in the same VLAN Make sure VLAN 112 is tagged towards the ESXi and allowed on all required ports. If in doubt, check whether the switch has associated the VM's MAC address with both the ESXi port and the desired VLAN. Whether you tag VLAN 112 towards the firewall ... | 1 | 1 | 981 | 2023-08-01T19:33:30.623 | infrastructure | serverfault.com | |
108,749 | why my boosting model overfits even with just 4 features out of 61? | I am working on a binary classification problem using balanced bagging random forest, neural networks and boosting techniques. my dataset size is 977 and class proportion is 77:23. I had 61 features in my dataset. However, after lot of feature selection activities, I arrived at 5 features. But yes, these 5 features wer... | Overfitting not only depends on number of features but other hyperparametrs also. I will suggest you to do a extensive Hyperparameter tuning and use early stopping while training the final model. This may lead to better results. Otherwise, without doing experimentation its very difficult to gauge the reason for overfit... | 1 | 1 | 35 | 2022-03-04T10:03:09.803 | data_quality | datascience.stackexchange.com | |
382,113 | Allowing a dynamic list of IP addresses to access a specific port in an AWS EC2 Instance | The problem I am trying to solve today is DDoS. I am working on a game project which is hosted on a TCP port (7777). The game is known to have a community full of idiots (pardon the language) that do not like competition among communities, so they just like to DDoS servers to... kill the competition instead. Depending ... | Based on the tools mentioned in your post, one potential way to solve this is through the use of Lambda function. It might be overkill for your situation but you could have a function determine the required I.P Addresses and then maintain the Security Group based on that, you could add auditing and alerting as required... | 1 | 1 | 104 | 2018-11-27T17:43:56.457 | api_errors | softwareengineering.stackexchange.com | |
1,056,677 | Email server with DigitalOcean and Webmin Does not send to Yahoo, Hotmail | I been following tutorials on how to setup my own SMTP server for Email marketing using Digital ocean Droplets and Webmin I came to a point where I have installed the Webmin using PUtty, set up DKIM and SPF, MX etc. respectively. But I used a Free domain name set up on [CODE] which is [CODE] for setup of the SMTP serve... | To start off, you should not be using a Digital Ocean droplet for marketing email. You should be using a service like Mailgun, Amazon SES, Postmark, or similar. Digital Oceans networks have a bad reputation for email and mail servers on them will be frequently flagged as spam because: Digital Ocean makes no effort to r... | 1 | 0 | 1,889 | 2021-03-11T08:37:20.353 | infrastructure | serverfault.com | |
252,450 | why innodb generate table-lock when two sql using different index? | I know innodb-engine row lock by add lock to index item. But I don't understand the following scene. Prepare sql: [CODE] Session-1 execute sql: [CODE] Session-2 execute sql: [CODE] I know session-1 use order_id_idx index item, session-2 use product_naem_idx index item. I don't understand why session-1 blocks session-2.... | Every InnoDB table should be given an explicit [CODE] . It must be "unique" and can either be a column (or combination of columns) or can be an [CODE] surrogate. [CODE] is the fallback when you don't provide a PK. [CODE] -- You are locking the one row from two different approaches (the secondary indexes). Hence, it is ... | 0 | 0 | 145 | 2019-11-03T12:47:41.157 | warehouse_errors | dba.stackexchange.com | |
448,397 | Message Dispatching: If, Visitor, or something else | I often write code to implement the dispatching and handling of "messages." My requirements are usually: I should be able to add new types of messages AND/OR new types of handlers without affecting the existing messages or handlers (i.e., loose coupling). Every handler can choose which subset of messages to "handle" (i... | I should be able to add new types of messages AND/OR new types of handlers without affecting the existing messages or handlers (i.e., loose coupling). So, what you might be running into here is known in the CS community as the "expression problem". The gist of it is, there are two main ways to approach data abstraction... | 1 | 4 | 181 | 2023-10-31T19:10:31.590 | api_errors | softwareengineering.stackexchange.com | |
43,292 | Apache2 https keeps redirecting (301) to http | Even though I've used Apache for years, I'm new to https and SSL with Apache. For testing, I have executed some openssl commands as found on the Internet to generate a self-signed cert for use with Apache. When I hit an https://mydomain URL for the first time, I got the browser warning about the cert, which was expecte... | Do you have a CMS or blog software such as WordPress installed on this site? Many such systems use 301 redirects to direct you to the preferred hostname (with www) or rewrite URLs for SEO / permalink purposes. If you are running a CMS, disable permalinks / SEO optimization and if you're still having problems, update yo... | 1 | 1 | 1,760 | 2009-07-21T00:40:43.887 | infrastructure | serverfault.com | |
143,598 | Always On Listener Behavior - DBs removed from group | We have multiple multi-site always on failover cluster instances in our env. We have an enforced internet outage being imposed on us and at the time the link between the data centers will be down for up to 6 hours... Our plan is to remove the Databases from the AGs on the primary instances, but leaving the listener in ... | Our plan is to remove the Databases from the AGs on the primary instances, but leaving the listener in place so the applications should still connect to the DBs via the VIP/DNS. We cannot suspend movement as the outage could be long and MS recommend movement is suspended for a short period only. I would not remove the ... | 0 | 0 | 729 | 2016-07-12T12:32:41.293 | database_errors | dba.stackexchange.com | |
4,601 | Explain Microsoft Desktop Optimization Pack Licensing | Possible Duplicate: Can you help me with my software licensing question? There are lots of tools in the Microsoft Desktop Optimization Pack (MDOP) that would be really useful. However, the licensing on it is amazingly unclear. I thought I understood Microsoft licensing until I saw MDOP. Can anyone explain how MDOP is l... | This is the only thing I could find for MDOP licensing. Microsoft licensing, as I replied on your previous, also Microsoft related question, is convoluted and has many, many, many variations. That being said, and because I had also become curious about this, I called Microsoft Licensing. They directed me to a document ... | 2 | 1 | 1,807 | 2009-05-05T11:49:07.910 | data_quality | serverfault.com | |
133,301 | Hold exclusive lock on a whole DB | As I explained in Set a filegroup to readonly , I wanna set some tables readonly, to have better performance. These tables are only written by an ETL that runs daily, then they are only read. Therefore, I'll move these tables' indexes to a separate filegroup and keep this filegroup as readonly. When my ETL runs, I must... | Setting the filegroup to read only doesn't actually improve performance. It might appear that way if there are users/jobs that update the data while most users are just reading data (blocking) but that's a misinterpretation of your observation. A common misconception is that it saves on locking however that would requi... | 2 | 4 | 1,017 | 2016-03-24T16:41:59.870 | data_quality | dba.stackexchange.com | |
388,008 | svn trouble with a commit from eclipse | [CODE] How can I bypass this short of making my [CODE] read-writeable by everyone? Do I just add the svn user to my group? (currently the folder is owned by [CODE] ) | Check that the subversion repository (not your working copy) is writable by the user running svnserve (if your repository URL starts with svn://), the apache user (if your repository is accessed via http(s)) or your user (if you access the repository via ssh or locally). Typically the svnserve daemon is running as the ... | 1 | 3 | 14,802 | 2012-05-10T17:43:37.163 | infrastructure | serverfault.com | |
353,943 | Can cloning a hard disk drive to a SSD drive physically damage the SSD or the performance of the SSD? | I have a new SSD drive, I want to use it to replace the old mechanical hard disk drive in a laptop. The laptop had a new O/S (Windows 7 64-bit) installed about 9 months ago and I want to know if it's worth the effort to reinstall the O/S or if I can just clone the old HDD. I have read discussions about differences betw... | It would seem that this would not be an issue. Kingston, for example, includes software in their kit to clone the drive. They state "For notebook or desktop users, switching to SSD or adding it to your system is simple with upgrade kits that include everything you need as well as software to clone your files and OS in ... | 1 | 3 | 8,529 | 2012-01-26T17:12:35.493 | infrastructure | serverfault.com | |
1,022,817 | Folder Redirection GPO fails with 502 "Can't create folder" error for folders that already exist | For a very long time now, we have relied on a registry setting to handle folder redirection for our Documents folders. Part of the login script sets [CODE] to use [CODE] . We have other scripts that automatically create and share those folders with working permissions at the same time user accounts are created. This wo... | As far as I know, and as described in Microsoft documentation , you need the user to be the owner. I understand your concerns about not giving users more permissions, but with the appropiate permissions in the parent folder, you should not worry: I've a share set it up on 2015 as MS recommends, with more than 7000 user... | 0 | 0 | 5,456 | 2020-06-24T21:49:40.610 | infrastructure | serverfault.com | |
997,794 | Pods stuck in 'Pending', no events being logged | I don't know where to look for hints. We have installed gitlab-runners using a helm chart in our development cluster. Most of the time this works, but in the last week or so we have experienced pods being stuck in [CODE] state without any further logs. At some point which I cannot define better, all pods are being sche... | Posting this answer to give more of a general idea for where to look for information why [CODE] is in [CODE] state as for now it's impossible to tell on this specific setup. The ways to check why the [CODE] can be in [CODE] state: [CODE] [CODE] Inspecting the [CODE] (more on that below) Assuming following situation whe... | 7 | 2 | 9,546 | 2020-01-06T13:50:46.230 | pipeline_ops | serverfault.com | |
421,361 | Represent individual object as a class? | What is the best way to model the objects in my OOP program? I understand that the classes represent not particular objects but "groups"/"generalizations" of objects. But, I need to model individual objects that are significant in my domain for example Garfield and Snoopy below, which aren't a class of object at all bu... | Classes define behavior. If your Garfield and Snoopy don't have different behavior from other cats and dogs, they should most definitely not have their own class. Consider whether you can't just create these special instances at the start of your program and pass them to where they're needed. | 9 | 27 | 2,325 | 2021-01-21T11:08:06.513 | api_errors | softwareengineering.stackexchange.com | |
530,852 | Native IPv6: routing between eth0 and eth1 | I humbly ask for your assistance with the problem I can't resolve myself. I have a native IPv6 link with 2001:db8:14::/48 assigned. I'm running Slackware on 3.2.50-grsec kernel. My ISP's side (my default gw for ::/0) is 2001:db8:14::1. I have assigned 2001:db8:14::2 to my WAN interface (eth0) and it's working - I can p... | I notice one specific problem in your routing table. It specifies [CODE] as directly attached to [CODE] . That should have been a [CODE] . But I don't see how that could explain the symptoms. One piece of information is clearly missing. The ISP router would have to be configured with a gateway address for [CODE] . If t... | 1 | 1 | 2,953 | 2013-08-14T08:59:50.857 | infrastructure | serverfault.com | |
252,373 | MySQL - Get maximum Tuple without Grouping everything | I need some help by writing a SQL statement. I have a table (it's already a result from another query) with 4 columns e.g.: Firstname | Lastname | Softwarename | Hours With a example data set like: Row1: Max | Huber | Word | 25h Row2: Max | Huber | Excel | 12h The result of the query should be the first row. My problem... | If I've understood you (at last) correctly, I think you want something like this (see fiddle here ): Create your table: [CODE] Populate it: [CODE] And use the following premliminary SQL (included to demonstrate the thought processes that went into formulating the answer. I find that people learn better if they can see ... | 1 | 1 | 893 | 2019-11-01T12:53:20.270 | database_errors | dba.stackexchange.com | |
34,698 | How can I make sure the SQL Server query optimizer uses the exact tables in the query | I have a query running in SQL Server 2008: [CODE] In the data warehouse where this script runs, a table called [CODE] is exclusively populated by [CODE] (we use this thin table for indexed view creation. Read this answer for a little more detail). The problem is that the optimizer is choosing to use [CODE] rather than ... | There are only two possible ways that the execution plan for your query might not read from [CODE] directly. I will use the following indexed view created in the AdventureWorks sample database to illustrate: [CODE] 1. Table1 is an indexed view In this case, the optimizer will make an estimated-cost-based decision wheth... | 4 | 8 | 1,251 | 2013-02-13T18:25:23.947 | database_errors | dba.stackexchange.com | |
226,679 | Select within or closest to date range MSSQL | Lets say we have a table [CODE] And sample data [CODE] The productID is a foreign key to another table Product this table has the prices for our products . The question is assuming today's date is 2018-12-19 (19 Decemeber 2018) How do we get the current price for date (2018-12-19) based on giving priority to EndDate is... | Question 1 How do l get price trend with desired output like below based on EndDate Simply use COALESCE to convert NULL date values to 31/12/9999 that is the maximum value allowed for a datetime column. [CODE] ProductPriceId | ProductId | Price | StartDate | EndDate -------------: | --------: | :------ | :-------------... | 1 | 2 | 2,525 | 2019-01-09T11:30:10.533 | warehouse_errors | dba.stackexchange.com | |
451,168 | nginx large file upload gives HTTP Error 413 Request entity too large in rails | I trying to build a rails application to upload large video file which will be hosted at s3.amazonaws.com server it works fine with smaller file but gives 413 Request entity too large error for large file (around 30MB). I change my nginx configuration file and increased client_max_body_size to 4G. Still it does not wor... | I would suggest looking at all the different places where [CODE] could be set. For example, in the server and location sections - anywhere that Nginx is pulling configuration files from. To find any occurrences of [CODE] , try the following unix command from the nginx directory: [CODE] | 2 | 3 | 6,800 | 2012-11-22T09:25:39.293 | api_errors | serverfault.com | |
212,704 | Apache2 Virtual Host Restrict to Localhost | So here's the deal. I have multiple virtual host. Each virtual is a separate domain. Each domain is for separate applications. Lets say I have virtual hosts for: http:// .abc.com http:// .def.com http://foo.com I then a separate application, which is a RESTful HTTP api for the foo.com application. What i want to achiev... | Sounds like a good solution for me. You could even scale this to multiple servers if your site grows. One small hint: Clients wouldn't receive an 404 error, their browser will report them it couldn't find the host to begin with. A 404 means that the browser talked to the server, but the server couldn't finde the reques... | 1 | 0 | 396 | 2010-12-15T01:59:17.297 | infrastructure | serverfault.com | |
904,647 | How control bandwidth to determined sites in local network | I work in a company with around 20 employees, and some of then complain about slow internet sometimes, what happens is that some of the employees use a lot youtube, facebook and so on during the work hours. I would like to limit the bandwidth to these websites, unfortunatly I can't just block them. Right now our networ... | You don't have the hardware to do what you want. The 2012 server is not meant to do that type of action. What you need is a configurable fireawll that has the ability to filter and limit traffic based on destination hostname. This isn't a full-proof solution, but it's a great limiter for most deployments. You can look ... | 0 | 2 | 71 | 2018-03-26T16:21:17.150 | infrastructure | serverfault.com | |
682,428 | DST Morocco, a way to trick NTP server | From several years Morocco have been using GMT without DST, in the past years, our government reactivated the use of DST. In the first years, the DST was a mess, different periods, starts, ends, so Microsoft tried to release some patches, they were available very late, and in some years, the patches were not public and... | The problem with tricking the computers is that, while the clock will appear correct, the actual times stored in the system will be one hour wrong. Eventually you will get a timezone update for your operating system, if it is still supported, and then the time errors will appear. This is how you deal with timezone upda... | 7 | 8 | 1,182 | 2015-04-13T20:05:42.267 | infrastructure | serverfault.com | |
653,152 | Order of resource/class execution in puppet manifest file | I working on configuring CQ5 on vagrant managed virtual machine. The provisioning is done using puppet. I have query regards to the order of execution of classes/resources in puppet manifest file. Please find below manifest file cqsite.pp [CODE] During provision puppet is initially picking cq resources (cq::instance ) ... | You're not specifying any resource dependencies so Puppet will apply the changes in a seemingly random order. If the [CODE] class should be installed before your [CODE] definitions, then you should add an explicit dependency like so: [CODE] Or even: [CODE] See https://docs.puppetlabs.com/puppet/latest/reference/lang_re... | 1 | 10 | 4,141 | 2014-12-17T11:08:39.800 | pipeline_ops | serverfault.com | |
71,523 | Defragmentation of Indexes - Higher value after defragmentaion | I am trying to defragment indexes on SQL Server 2008 using ALTER INDEX--REBUILD. After defragmentation some indexes have fragmentation percentage value greater than its before defragmentation value. Is it possible or an issue ? | For indexes with small page_count this vaue is normal. Page_count can be seen from sys.dm_db_index_physical_stats. If page_count > 1000 only then go for index rebuild or reorganize. Sometimes when you rebuil index and use lower value of fill factor more pages are required and fragmentation might occur. Also when page c... | 2 | 1 | 101 | 2014-07-15T06:58:56.103 | database_errors | dba.stackexchange.com | |
442,947 | User start daemon .pid Permission denied | Trying to start a unicorn daemon as a non-root user but failing hard. Unicorn gives the the following error: [CODE] So I made the following: [CODE] ls -ld /var/run/sinatra_test returns: drwxrwxr-x 2 ruby www-data 60 Oct 27 09:55 /var/run/sinatra_test What am I missing? Still getting Permission denied errors. | Most probably you got some leftover with pid file (/var/run/sinatra_test/sinatra_test.pid). Did you killed your app (kill -9 )? If application is down, then verify if there is this pid file - if there is - please remove it. And retry to start it again. | 1 | 1 | 3,071 | 2012-10-27T14:13:37.400 | infrastructure | serverfault.com | |
34,985 | Choosing web server software for security | Nginx, an open source web server that's relatively new on the market, has been attracting some interest lately, having performed really well in some benchmarks over the past years. In choosing server software for publicly accessible business applications, I've been wondering whether it would be irresponsible from a sec... | nginx is hosting couple of percent of the global number of websites, so it is far from being obscure. That is hundreds of thousands, if not millions of sites, and as such nginx is large enough to be a worthwhile target for exploits. nginx already has had security issues, and the open source community has disclosed vuln... | 5 | 5 | 988 | 2009-07-02T12:58:09.590 | infrastructure | serverfault.com | |
119,721 | Sharepoint Search crawl not working | Search Crawling is error out on my MOSS 2007 installation. I get the following error for all the web apps I have following error in Crawl logs. http://mysites.devserver URL could not be resolved. The host may be unavailable, or the proxy settings are not configured correctly on the index server. The Application Event l... | I had the exact same problem, you need to increase the connection timeout in the farm search administration screen, I change this on my VM from 60 seconds to 120 seconds and im now crawling content successfully. | 1 | 1 | 17,986 | 2010-03-05T21:30:02.353 | infrastructure | serverfault.com | |
126,347 | Should I remove or interpolate missing values? | I have a dataset containing a very long time series of hourly traffic congestion in a certain city, during a period of ~22 years (number of data points: Roughly 24 X 365 X 22 = 192720). I want to use this time series to forecast future hourly traffic congestion values. I have 2 types of missing values in the series: A ... | Easy answer: try both and see what works best. Obviously, whatever works best is what you should choose, but let's look into why one method might work better than the other and in what scenario it's more likely that it does. What does "null" mean in your case? This is a very common data question. Does "null" mean that ... | 2 | 2 | 52 | 2024-01-10T06:52:25.277 | data_quality | datascience.stackexchange.com | |
694,955 | Use reporting service configuration to configure the database source name | So im upgrading to R2. When i get to the Reporting Services Authentication step i get the error: There are validation errors on this page. Click ok to close this dialog box. Review errors at the bottom of the setup page, then provide valid parameters or Click Help for more information. Use the Reporting Services Config... | I got around this by cancelling the upgrade. Uninstalling the Reporting Service feature. When i reran the upgrade it didnt have this step. | -1 | 0 | 228 | 2015-05-28T10:20:36.863 | api_errors | serverfault.com | |
533,858 | How to configure a 2821 ISR to an asterisk PBX on a PRI line? | I'm trying to move my company's phone system from Cisco's CUCM to an asterisk solution. I have setup a PBXinaflash server, and setup an account with www.vitelity.com. I was able to get it working. I could send/receive calls, and it connected to an IVR. Next I bought a Cisco 2821 ISR with a PRI card, as a backup for our... | OK I got it working, I needed to learn how to use the debugging logging on the 2821 ISR. Thanks to SkykingOH at freepbx.org for the help on this project. [CODE] I simplified the [asterisk trunk ~ 10.1.10.7] too [CODE] The config for the 2821 [CODE] After using the debug I learned my telco (COX) was sending me 7 digits ... | 1 | 0 | 12,193 | 2013-08-26T15:16:17.697 | database_errors | serverfault.com | |
32,273 | Large Numpy.Array for Multi-label Image Classification (CelebA Dataset) | Task: Build CNN Model (preferably Keras or TensorFlow) to Predict Labels Associated to Each Image in CelebA Dataset (Multi-label Image Classification) In past, for majority of multiclass/binary image classification problems, I used to feed images efficiently using [CODE] and [CODE] in Keras after images are properly or... | I ended up writing a python generator, which actually works very well, for manually feeding desired number of images chunk by chunk into my CNN model like this: [CODE] Hope it will help someone out there. | 3 | 1 | 2,279 | 2018-05-28T16:34:09.583 | data_quality | datascience.stackexchange.com | |
369,345 | Why can't clients query the DB directly using SQL? | Given that a lot of modern web applications just consume JSON data from the sever, what is the point in having a REST api at all instead of just using SQL's query language? Nowadays people are starting to use GraphQL. From what I understand is a query language from the client to the sever, which then gets translated in... | It is possible but not generally wise to offer direct SQL access to a database. I have to make the database publicly reachable. This alone would make me nervous, as it increases the attack surface and possibility of data loss. Normal configurations would keep the DB on an intranet and a webserver in a DMZ . The webserv... | 7 | 10 | 3,988 | 2018-04-14T00:08:44.680 | api_errors | softwareengineering.stackexchange.com | |
674,251 | Nginx + Apache server crash every 6 days | I'm a web developer and I am having a very nasty problem with one of the websites I'm working on and I was hoping somebody here may be able to help me. The website is running on a dedicated server with CentOS 6.6, an Nginx + Apache configuration with Vesta as control panel. I'm not sure if it's very relevant here, but ... | Try to collect metrics and graph them. Nothing beats graphs. A tools like Munin can be very helpful in these situations look at memory, io, processes, cpu, networking, interrupts, etc. over time. http://munin-monitoring.org/ Also if your machine is a VM and has a network filesystem that becomes unavailable, that may ex... | 1 | 0 | 821 | 2015-03-10T10:10:47.950 | database_errors | serverfault.com | |
98,999 | How do you keep track of latest software trends along with a demanding job? | Possible Duplicate: Where do you find the time? I am sure there are lots of us in this very common situation. You have a job that's demanding. In other words you need to put in 50+ hours/week and yet you are expected to keep up with what's happening on the bleeding edge technology and open source end. Any suggestions f... | I personally believe that if a company really wanted the best from their employees then they should allow an amount of time allocated during the day to reading, learning and searching of new technologies. You say you are expected to keep up with new technologies but doing it at work is not an option unless it's at lunc... | 3 | 4 | 418 | 2011-08-06T02:52:52.227 | data_quality | softwareengineering.stackexchange.com | |
527,244 | Change reception in postfix queue | After running [CODE] i sometimes finds misspelled email-adresses, is there a way to change the reception adress (envelop to adress) of the messages, so it can be delivered. exemple: [CODE] I want to pick upp [CODE] , and change the adress [CODE] to [CODE] | So far i found out i can: using [CODE] i can get a copy of the queued item clean the message from meta data, the postcat messages may look like: [CODE] Clean out the postfix header and footer, so only mail headers and mail body is left in the file, using a text editor, or sed. use sendmail to send the mail to the new r... | 3 | 3 | 1,130 | 2013-07-30T10:02:08.080 | infrastructure | serverfault.com | |
1,155,999 | btrfs mount error "can't read superblock" | I have a synology nas drive in raid6 that had a drive failed. I replaced the drive and had two other drives kicked off the raid after a power failure crashing the storage pool. I was able to move all the drives over to another system and rebuild the raid and lvm but there are errors on the btrfs file system that preven... | Sorry for my first comment. But at least your problem is a good example why you cannot trust block level RAID. One might think that recovering the RAID array is all you need to do for full recover, but block level RAID is not 100% safe and cause of the block level nature, you won't even detect an error. BTRFS is a stri... | 0 | 0 | 126 | 2024-03-10T02:28:31.817 | data_quality | serverfault.com | |
876,229 | How many users can my server take? | I was told to switch to nginx or at least to mpm_worker. But really, how can I estimate if my server is not really overloaded even with mpm_prefork? My system is: GCP 1 CPU + 3,75GB Debian 8 Apache 2.4 with mpm_prefork Varnish cache, Memcache Some php.ini settings [CODE] Some other various standard apache modules, with... | At a guess, probably less than 100 before it starts slowing down. For reference, I load tested a customers server this week. The specs were: 4core 4GB RAM 2 core litespeed with lsapi handler PHP 7 MariaDB 10 And just a really well coded site. It could take 300 concurrent connections on the slowest page, before it start... | 0 | 0 | 780 | 2017-09-30T00:04:58.080 | infrastructure | serverfault.com | |
176,469 | Does it ever make sense to create an index with additional columns after the primary key? | I am looking through our MySQL 5.7.16 database and I noticed that there are some indexes that use the primary key as the first column in the index, followed by additional columns. Intuitively, this doesn't seem to make sense to me since the index would always narrow it down to one row by using the first column. However... | Indexes have more than one use. The primary use (in most cases) is to quickly identify the rows that meet a query's conditions. When doing this, the leftmost columns of the index are considered. Say you have a table, [CODE] , with 100 columns, a mix of dates, strings, and numbers. Five of the columns in the table are: ... | 4 | 6 | 1,554 | 2017-06-16T14:22:19.197 | database_errors | dba.stackexchange.com | |
20,209 | Can't access the internet when connected to OpenVPN server | I have recently installed OpenVPN on my windows 2003 server. Once someone is connected to the server, they do not have internet access. My network is on 192.168.1.1 my server is on 192.168.1.110 I am using the dd-wrt firmware I have enabled port 1194 for 192.168.1.110 on the router Routing and Remote Access is disabled... | It looks to me like the server is pushing the "redirect-gateway" option down to the client. This causes the client to use the VPN as its default gateway. Comment out the line in the server config 'push "redirect-gateway def1"'. Woah there-- just saw your edit. You client can't be using the same IP addresses as the LAN ... | 2 | 3 | 36,941 | 2009-06-05T02:11:36.697 | infrastructure | serverfault.com | |
154,888 | What exceptions should Windows Firewall have to allow network discovery? | I'm running Vista x64 at work (upgrading to Win7 on Monday), and I've had a problem for awhile. When I have Windows Firewall turned on, I'm unable to connect to my machine from any other machine on the network. Turning it off makes my machine discoverable by other boxes, but I'd rather not do that, even though we have ... | Is there a way to tell it to let other subnets access it using the same rules? Yes, - Windows Firewall rules can apply to specific remote networks. So an inbound connection can be allowed when it originates from the local subnet, or it can be allowed when it originates from a specific address, or it can be allowed if i... | 4 | 2 | 9,073 | 2010-06-25T15:29:39.757 | infrastructure | serverfault.com | |
795,105 | Postfix + Dovecot taking too long to send emails | I'm getting 504 errors when trying to send emails on my Rails 4.2 site using dovecot and postfix. I also have an asynchronous email server set up using Redis and Sidekiq, when I send asynchronous emails they take 5 to 30 minutes to send. My mail server is running on the same box as my site, but the interesting thing is... | My issue turned out to be a two-fold problem: I needed to add [CODE] to [CODE] My [CODE] required that I have [CODE] Since I have two Sidekiq servers running, I needed to use separate queues I am running a staging and production server on the same machine, it turned out that emails were often ending up in the wrong que... | 0 | 0 | 1,245 | 2016-08-05T16:05:56.450 | database_errors | serverfault.com | |
218,848 | Cisco ASA - NAT'ing VPN traffic | I have an IPsec VPN setup like this: [CODE] The VPN is set to handle traffic between [remote users] and [Subnet A]; it does not include [Subnet B]. Pretend the firewall rules for all routers are to permit everything. Now I want to redirect traffic that comes over the VPN to a specific IP on [subnet A] (192.168.1.102) t... | These two statements are not trivial to throw together."The VPN is set to handle traffic between [remote users] and [Subnet A] it does not include [Subnet B]." and "Pretend the firewall rules for all routers are to permit everything." But, I'm going to assume that you mean that the remote ASA is configured to use the V... | 1 | 1 | 990 | 2011-01-05T07:03:04.283 | infrastructure | serverfault.com | |
324,018 | Is it acceptable to store global date times in UTC without offset for timezone? | I'm looking at a Data Warehouse which collections data from systems across the world. The Data Warehouse uses UTC for time but only stores the UTC offset and not the timezone. I have noticed that the datetime data from e.g. America has been inserted with an offset of +0000 which suggests it has been stored as UTC inste... | As a general rule it's always better to store DATETIMEs in UTC, and then have them converted to the appropriate timezone in the display layer (be that an application, report, etc.). This can solve problems where you deal with multiple timezones, and reduce issues surrounding daylight savings time as well. It's also a g... | 2 | 3 | 2,159 | 2023-02-24T16:47:03.143 | warehouse_errors | dba.stackexchange.com | |
365,270 | Beginner C++ question about program design with unique_ptr and vectors | I am currently making a console program about buying property in a city. Properties can be bought from the city by someone, transferred to another person, or returned to the city if the person who has ownership dies. I have created 3 classes: Person, City, and Property. My Person and City classes both have vectors of u... | You should look into [CODE] . It's a mapping between one value and another. In your case, it looks like you want to have a map of [CODE] s to [CODE] s. You can create one like so: [CODE] You can add properties to it by [CODE] like so: [CODE] And you can get properties out of it by ID by doing the following: [CODE] You ... | 0 | 1 | 359 | 2018-02-04T06:22:28.107 | api_errors | softwareengineering.stackexchange.com | |
301,622 | Does Amazon AWS block multiple connection from the same IP? | I use Amazon AWS, however, I am noticing a problem. I have a machine I host outside of AWS which needs to make multiple connections to a database located within AWS. It needs to make several queries which can lead up to 12 connections from the same IP to the database hosted on AWS. That being said, I am noticing a lot ... | No, Amazon does not block multiple connections into EC2 from the same IP. The system functions just like any other TCP/IP v4 network and I can successfully open up hundreds of connections from one IP. Anyway your symptoms of "delay" wouldn't match up with your question about "blocking". You should look into software co... | 1 | 1 | 481 | 2011-08-15T23:42:52.040 | infrastructure | serverfault.com | |
615,130 | An unknown tool is wiping our Virtual Machines and we can't ID it | A console view of a Windows 2008 R2 VM, on vSphere is showing the following screen: "Operation 2 of 2" "Wiping disk" Can someone advise on what this program is? Some information on this mystery: A number of VMs are now effected. The symptom is after reboot "OS not found" message is appearing. VM's are running on ESXi. ... | Unfortunately it looks like we may not get to the bottom of what the application was, but to get some value from this incident, I wanted to create a reference answer. This is VMware and virtual layer management centric. A lot of admins are in segregated, and cannot get guest or storage access quickly, and this is for t... | 18 | 10 | 505 | 2014-07-24T11:35:44.243 | database_errors | serverfault.com | |
59,246 | SQL Server Table Backup | A friend of mine has run into this problem on SQL Server 2008, please suggest a solution: He came to know that auto backup scheduled on server were not taking place since last couple of days, when he tried manual backup of our database it gave following error: System.Data.SqlClient.SQLError: Read "D:\DB\data.mdf" faile... | I would run DBCC CheckDB and see what corruption you have in the database. It sounds like it is disk corruption. If that is the case you will likely have to restore from backup. After you restore from backup you can compare the two tables in question. You can also try BCP'ing the bad table out but if it is a i/o disk e... | 2 | 1 | 2,011 | 2014-02-20T07:37:38.897 | database_errors | dba.stackexchange.com | |
154,264 | Evolution of an Application: how to manage and improve core engine? | The web application I work on has been live for a year now, but it's time for it to evolve and one of the ways in which it is evolving is into a multi-brand application - in this case several different companies using the application, different templates/content and some slight business logic changes between them. The ... | First my experience with what another company has done before: They had exactly the same live code used by several of their clients, with just skin changes, and lots of conditional logic behind. It meant that if one of their clients went down because there was a bug in the code that was just promoted, every single of t... | 2 | 4 | 304 | 2012-06-26T09:35:44.473 | data_quality | softwareengineering.stackexchange.com | |
1,034,124 | Recover data from broken RAID 1 drive | I need to save files from a Buffalo NAS Linkstation with two physical drives that is not working anymore (2TB each, Raid 1). Error message says: The bad sectors in the hard drive may have reached a dangerous level. Replace the hard drive. I removed both drives from the NAS and tried to connect the drives externally to ... | You're in a bad spot here, because you think you had one drive fail. In reality, BOTH drives failed. What happened here is that some time ago, the NAS noticed some sort of problem with one drive and kicked it out of the array. It was probably something quite minor, as the drive sounds like it is working. It should have... | 0 | 0 | 377 | 2020-09-16T13:22:22.137 | infrastructure | serverfault.com | |
763,356 | Cannot access Debian smb share from Windows 7 64 | This is an old problem, an in my experience the connection between windows and samba is unstable and different for every implementation. Sometimes it works, sometimes it doesn't, often without any apparent logic. Right now I have a Debian server with a simple samba share: [CODE] I have two linux system users, both of w... | If you haven't already, I'd first verify the samba share is accessible from another computer running linux. [CODE] Then verify it mounted it successfully. For what it's worth I'd try the Samba config below; this was taken from a working production setup with samba share on centos 7, and windows users accessing with use... | 2 | 1 | 2,139 | 2016-03-12T15:34:51.703 | infrastructure | serverfault.com | |
1,029,452 | open multiple ssh session in a predefined layout | Is there a way on Windows 10 to open multiple SSH connections in a predefined window layout? I have been using MTPutty for this, and it works well, except that I have to configure the layout every time manually. Ideally I could be able to login and run a command automatically in each connection, but my main problem is ... | I think this is a question of taste. Personally I use the (awesome) windows terminal application. When you open up Windows Terminal, by default it will open up a single tab with a single pane, using your default profile. However, if you wish to customize this start-up layout, you can use the [CODE] command with command... | -1 | 0 | 1,270 | 2020-08-09T23:18:15.710 | infrastructure | serverfault.com | |
209,122 | Connections increasing by 10+ a second with no requests | I'm getting no answers from my host, but I suspect their DB servers are compromised. I was getting some ridiculous page loads for requests to a standard Wordpress installation - upwards of 30 seconds, and always multiples of 30 plus a normal load time, so it might be 32 seconds, or 122 seconds, or 211 seconds for examp... | 10 Connections per second is rather high. Still, about 1/4 of production servers I have looked at (WP and non-WP) show a higher value for Connections/Uptime. Check the web server's log files -- you may find that a hacker is trying to break through your passwords or security flaws in WP. | 0 | 0 | 60 | 2018-06-08T15:37:33.720 | database_errors | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.